This is a deprecated class that has been replaced by UIAnimatorMonitor in StandardDialogueUI and elsewhere. More...
Public Types | |
enum | TransitionMode { State , Trigger } |
enum | State { Undefined , Showing , Shown , Hiding , Hidden } |
Public Member Functions | |
UIShowHideController (GameObject gameObjectToControl, Component panelToControl, TransitionMode animationMode=TransitionMode.Trigger, bool debug=false) | |
void | Show (string showState, bool pauseAfterAnimation, System.Action callback, bool wait=true) |
void | Hide (string hideState, System.Action callback) |
void | ClearTrigger (string triggerName) |
Static Public Attributes | |
static float | maxWaitDuration = 5 |
Maximum number of seconds to wait for show/hide animation. | |
Properties | |
Component | panel [get, set] |
State | state [get, set] |
bool | debug [get, set] |
This is a deprecated class that has been replaced by UIAnimatorMonitor in StandardDialogueUI and elsewhere.
It's only used by the older UnityUIDialogueUI.
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
Maximum number of seconds to wait for show/hide animation.
|
getset |
|
getset |
|
getset |