mUIToggle

Summary

Component for displaying toggle form.

Relation

UnityEngine.UI.Toggle
mUniSm.Core.IMonoCacheBehaviour
mUniSm.Skin.Internal.ISkinHandler
mUniSm.UI.IUISelectable
mUniSm.UI.IUIForm

Variable

focusOnClickMenuButton Focus on menu button clicking
setValueToGroupOnToggle When set to True Set the value to Group at toggle
setValueOnToggle When set to True Set the value at toggle
toggleSavedDataOnStart When saved toggle data matches Toggle on at start
tweenPositionOnClick Tween the scale when clicked
tweenAmount Scale when tweening

Property

group Group the toggle belongs to.
cachedGameObject Reference cache of GameObject
cachedTransform Reference cache of Transform
cachedRectTransform Reference cache of RectTransform
active True if the game object is active It is possible to change the state of the game object by setting bool
soundOnClick Gets or sets the sound on click.
subTransition Gets or sets the sub transition type.
subTargetOnColor Gets or sets the color of the sub target on.
subTargetGraphics Gets or sets the sub target graphics.
subSpriteState Gets or sets the state of the sub sprite.
subColors Gets or sets the sub colors.
subAnimationTriggers Gets or sets the sub animation triggers.
selectableType Gets the type of the selectable.
disable Gets a value indicating whether this is disable.
data Send Value
onSendValue Gets the event on send value.
NotRegisterAutomaticallySelect Gets a value indicating whether this instance do not register automatically select.
tweenTimeOnKey Gets or sets the tween time on key.
skinSource Gets or sets the skin source.
skins Skin data when skin source is Component
skinPaths Skin path

Method

SetAdditionalSkins(mUniSm.Skin.SkinInfo,System.String[]) Sets the additional skins.
SetAdditionalSkins(System.Collections.Generic.List{mUniSm.Skin.Internal.SkinGroup},System.String[]) Sets the additional skins.
SetAdditionalSkins(System.String[]) Sets the additional skins.
GetActiveSkinList( ) Get a list of valid skins
Init( ) Initializes this instance.
SetDisable(System.Object) Sets the disable forcibly.
SetEnable(System.Object) Sets the enable forcibly.
OnDestroy( ) Process on Destroy
OnSelect(UnityEngine.EventSystems.BaseEventData) Set selection and transition to appropriate state.
OnMove(UnityEngine.EventSystems.AxisEventData) Determine in which of the 4 move directions the next selectable object should be found.
Awake( ) Process on Awake
OnEnable( ) Process on Enable
OnDisable( ) Process on Disable
Start( ) Process on Start
UpdateListener(System.Boolean) Updates the listener.
Validate( ) Callback method called when editing values in Unity Editor
OnPointerDown(UnityEngine.EventSystems.PointerEventData) Evaluate current state and transition to pressed state.
OnPointerUp(UnityEngine.EventSystems.PointerEventData) Evaluate eventData and transition to appropriate state.
OnSubmit(UnityEngine.EventSystems.BaseEventData) Handling for when the submit key is pressed.
DoStateTransition(UnityEngine.UI.Selectable.SelectionState,System.Boolean) Does the state transition.

Reference