All pages
Powered by GitBook
1 of 1

Loading...

UI_Interaction

Here you'll learn what each UI Interaction behaviour does.

Interactable Info Display UI

Check the type of the interactable that the Player has interacted with and finds the corresponding displayer for it.

Displayers

Panel: The UI panel used in showing / hiding the underlying images.

Interactable Name Text: A UI text component that's used for displaying the current interactable's name.

Separator: An image that separate the name text from the description text (optional). It gets disabled when the current interactable doesn't have a description.

Description Text: A UI text component that's used for displaying the current interactable's description.

Interact Progress Image: An image that used in showing the time the current interactable has been interacted with.

Rect Transform: The main rect transform that will move the interactable's center (should be parent of everything else).

Canvas Group: The canvas group used to fade the item pickup displayer in & out.

Interact Progress Image: An image that used in showing the time the current interactable has been interacted with.

Name Text: A UI text that's used for displaying the observed item pickup's name.

Description Text: A UI text that's used for displaying the observed item pickup's description.

Item Icon: An UI Image that's used for displaying the observed item pickup's icon.

Stack Object: An object that will be enabled based on if the observed item has a stack that's bigger than one and otherwise disabled.

Stack Text: A UI text that's used for displaying the observed item pickup's current stack size.

Weight Text: A UI text that's used for displaying the observed item pickup's weight.

Weight Suffix: A string that will be added at the of the weight amount (e.g. amount + "KG" or "LBS")

Custom Item Offset: An offset that will be applied to the position of the "rect transform".