LayerNavigation¶
Source:
Assets/UpscaleSDK/Core/UI/Runtime/LayerNavigation.cs
class LayerNavigation¶
Represents a layer navigation class.
Methods¶
public void SetTransitions(Transition[] transitions)¶
Sets the transitions.
Parameters
| Name | Description |
|---|---|
transitions |
The transitions. |
public void SetDefaultElement(UIElement element)¶
Sets the default element.
Parameters
| Name | Description |
|---|---|
element |
The element. |
public Transition[] GetTransitions()¶
Gets the transitions.
public List<UIElement> GetAllElements()¶
Gets the all elements.
public Transition GetTransitionForElement(UIElement element)¶
Gets the transition for element.
Parameters
| Name | Description |
|---|---|
element |
The element. |
public UIElement GetDefaultOrFirstElement()¶
Gets the default or first element.