|
|
void | RenderToggle () |
| |
|
void | ActivateToggle () |
| |
|
void | UpdateToggle (bool _sendEvent=true) |
| |
|
void | InitTweener () |
| |
|
void | ClearGraphics () |
| |
|
void | InitGraphics () |
| |
|
void | Awake () |
| |
|
IEnumerator | DelayedAwake () |
| |
| void | Show (float _delay) |
| | Show after set delay.
|
| |
| void | Show (float _delayMin, float _delayMax) |
| | Show after randomized delay.
|
| |
|
void | Show () |
| | Show UIElement.
|
| |
|
void | ShowCustom (float _time) |
| | Show UIElement.
|
| |
|
void | Hide () |
| | Used on Close of Popup.
|
| |
|
void | HideCustom (float _time) |
| | Close UIElement.
|
| |
|
void | HideInstant () |
| |
|
void | ShowInstant () |
| |
|
void | Stutter () |
| |
|
void | PlayGlitch (float _start, float _end, float _duration) |
| |
|
void | Glitch (float _value) |
| |
|
void | SubGlitch (Graphic _graphic) |
| |
|
void | SubGlitchTo (Graphic _graphic, float _to, float _duration=ANIMATE_GLITCH_TIME) |
| |
|
StringBuilder | GetSB () |
| |
|
void | SubGlitch (Graphic _graphic, float _value, float _valueOffset=0, bool encapsulate=true, bool onlyGlitchNew=false) |
| |
|
void | ExecUIEvent (string _func) |
| |
|
void | OpenLink (string _url) |
| |
|
void | UpdateSelection (GameObject _selection) |
| |
|
void | ToggleGraphics (bool _state) |
| |
|
|
UnityEvent< bool > | OnValueChanged = new UnityEvent<bool>() |
| |
|
bool | AutoShow = false |
| |
|
bool | AutoHide = false |
| |
|
Graphic[] | graphics |
| |
|
Graphic[] | subGraphics |
| |
|
|
void | Start () |
| |
| override void | OnAwake () |
| | Wrapper for awake to ensure it happens at the correct time (cut down on race conditions)
|
| |
|
override void | OnShow () |
| |
|
override void | DisableElement () |
| |
|
override void | OnGlitch (float _value) |
| |
|
void | OnShow () |
| | Wrapper for awake to ensure it happens at the correct time (cut down on race conditions)
|
| |
|
void | DisableElement () |
| | Wrapper for awake to ensure it happens at the correct time (cut down on race conditions)
|
| |
|
virtual void | OnDestroyElement () |
| | Wrapper for Destroy to ensure it happens at the correct time (cut down on race conditions)
|
| |
|
void | OnGlitch (float _value) |
| |
|
|
string | DataID |
| |
|
bool | Default |
| |
|
bool | Value |
| |
|
TextMeshProUGUI | ToggleLabel |
| |
|
TextMeshProUGUI | ToggleText |
| |
|
|
const string | UnselectedChar = "░" |
| |
|
const string | SelectedChar = "▓" |
| |
|
|
const float | ANIMATE_IN_TIME = 0.3f |
| |
|
const float | ANIMATE_GLITCH_TIME = 0.3f |
| |
|
const float | ANIMATE_OUT_TIME = 0.3f |
| |
|
Dictionary< TextMeshProUGUI, GameObjectLocalizer > | localizers = new Dictionary<TextMeshProUGUI, GameObjectLocalizer>() |
| |
|
Dictionary< TextMeshProUGUI, LocalizeStringEvent > | localizersStr = new Dictionary<TextMeshProUGUI, LocalizeStringEvent>() |
| |
|
float | GlitchVal = 1 |
| |
|
float | GlitchLevel [get] |
| |
◆ OnAwake()
| override void UI_Toggle.OnAwake |
( |
| ) |
|
|
protectedvirtual |
Wrapper for awake to ensure it happens at the correct time (cut down on race conditions)
Reimplemented from UIElement.
The documentation for this class was generated from the following file:
- C:/Users/Pidge/Documents/gamedev/core_project_arrhythmia/Assets/_Prefabs/New Menus/Scripts/UI_Toggle.cs