mUniSm.UI.IUISelectable

Summary

Interface for selectable.

Property

disable Gets a value indicating whether this is disable.
isActiveAndEnabled Gets a value indicating whether this instance is active and enabled.
cachedGameObject Reference cache of GameObject
selectableType Gets the type of the selectable.
NotRegisterAutomaticallySelect Gets a value indicating whether this instance do not register automatically select.
soundOnClick Gets or sets the sound on click.
transition Gets or sets the transition type.
targetGraphic Gets or sets the target graphic.
spriteState Gets or sets the state of the sprite.
colors Gets or sets the colors.
animationTriggers Gets or sets the animation triggers.
subTransition Gets or sets the sub transition type.
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.

Method

IsActive( ) Determines whether this instance is active.
Select( ) Selects this Selectable.
OnDeselect(UnityEngine.EventSystems.BaseEventData) Called when deselect item.
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.
SetDisable(System.Object) Sets the disable forcibly.
SetEnable(System.Object) Sets the enable forcibly.
UpdateListener(System.Boolean) Updates the listener.
OnPointerDown(UnityEngine.EventSystems.PointerEventData) Evaluate current state and transition to pressed state.
OnPointerUp(UnityEngine.EventSystems.PointerEventData) Evaluate eventData and transition to appropriate state.

Reference