add ellipsis above the interaction prompts when there are more than 3 interactables in reach
This commit is contained in:
@@ -238,6 +238,10 @@ func populate_prompts():
|
||||
if current_interactables.size() > 2:
|
||||
$hud/hud_bottom/promptbox/prompt_tertiary.visible = true
|
||||
$hud/hud_bottom/promptbox/prompt_tertiary.text = current_interactables[2].prompt
|
||||
if current_interactables.size() > 3:
|
||||
$hud/hud_bottom/promptbox/prompt_overflow.visible = true
|
||||
else:
|
||||
$hud/hud_bottom/promptbox/prompt_overflow.visible = false
|
||||
else:
|
||||
$hud/hud_bottom/promptbox/prompt_tertiary.visible = false
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user