Loading...
Searching...
No Matches
PixelCrushers.Wrappers.UIPanel Class Reference

Manages a UI panel. More...

Inheritance diagram for PixelCrushers.Wrappers.UIPanel:
Collaboration diagram for PixelCrushers.Wrappers.UIPanel:

Additional Inherited Members

- Public Types inherited from PixelCrushers.UIPanel
enum  StartState { GameObjectState , Open , Closed }
 
enum  PanelState {
  Uninitialized , Opening , Open , Closing ,
  Closed
}
 
- Public Member Functions inherited from PixelCrushers.UIPanel
void RefreshSelectablesList ()
 
void RefreshAfterOneFrame ()
 
void TakeFocus ()
 Move this panel to the top of the stack.
 
virtual void Open ()
 
virtual void Close ()
 
virtual void SetOpen (bool value)
 
virtual void Toggle ()
 
virtual void SetFocus (GameObject selectable)
 
virtual void CheckFocus ()
 
- Public Attributes inherited from PixelCrushers.UIPanel
GameObject firstSelected
 
float focusCheckFrequency = 0.2f
 
float refreshSelectablesFrequency = 0
 
bool selectPreviousOnDisable = true
 
string showAnimationTrigger = "Show"
 
string hideAnimationTrigger = "Hide"
 
StartState startState = StartState.GameObjectState
 
bool waitForShowAnimationToSetOpen = false
 
UnityEvent onOpen = new UnityEvent()
 
UnityEvent onClose = new UnityEvent()
 
UnityEvent onClosed = new UnityEvent()
 
UnityEvent onBackButtonDown = new UnityEvent()
 
- Static Public Attributes inherited from PixelCrushers.UIPanel
static bool monitorSelection = true
 If false, turns off checking of current selection to make sure a valid selectable is selected.
 
- Protected Member Functions inherited from PixelCrushers.UIPanel
virtual void Start ()
 
void PushToPanelStack ()
 
void PopFromPanelStack ()
 
virtual void OnEnable ()
 
virtual void OnDisable ()
 
virtual void OnVisible ()
 
virtual void OnHidden ()
 
virtual void Update ()
 
GameObject GetFirstInteractableButton ()
 
- Protected Attributes inherited from PixelCrushers.UIPanel
bool m_deactivateOnHidden = true
 
GameObject m_previousSelected = null
 
GameObject m_lastSelected = null
 
List< GameObject > selectables = new List<GameObject>()
 
- Static Protected Attributes inherited from PixelCrushers.UIPanel
static List< UIPanelpanelStack = new List<UIPanel>()
 
- Properties inherited from PixelCrushers.UIPanel
bool deactivateOnHidden [get, set]
 
static UIPanel topPanel [get]
 
PanelState panelState [get, set]
 
virtual bool waitForShowAnimation [get, set]
 
bool isOpen [get]
 
UIAnimatorMonitor animatorMonitor [get]
 
UnityEngine.EventSystems.EventSystem eventSystem [get, set]
 
- Properties inherited from PixelCrushers.IEventSystemUser

Detailed Description

Manages a UI panel.

When the panel is active and on top, it ensures that one of its Selectables is selected if using joystick or keyboard.


The documentation for this class was generated from the following file: