UI_Sleep
Here you'll learn what each UI Sleeping behaviour does.
Sleep UI
Canvas Group: The canvas group used to fade the sleep UI in & out.
Max Canvas Alpha: The max alpha that will be reached when fading in.
Canvas Lerp Speed: The speed at which the sleep UI will be faded in & out.
Current Time Text: A UI text component that's used for displaying the current time while sleeping.
Background Rect: The background rect of this UI piece.
Animator: Reference to the animator used for the sleeping UI.
Show Trigger: The "show" animator trigger.
Hide Trigger: The "hide" animator trigger.
Number of Templates: How many time templates should be spawned each side.
Time Text Template: A prefab with a text component on it that will be instantiated.
Text Size Over Distance: How will the text scale over the duration of its lifetime.
Text Y Position Over Distance: How will the text y position change over the duration of its lifetime.
Text Color Over Distance: How will the color of the text change over the duration of its lifetime.
Last updated
Was this helpful?