mUIPanel

Summary

Panel component for use in Raycast and fade out.

Relation

mUIRawImage
mUniSm.Core.IMonoCacheBehaviour
mUniSm.Tween.IAlphaHandler
mUniSm.Tween.IColorHandler
UnityEngine.EventSystems.IPointerDownHandler
UnityEngine.EventSystems.IPointerUpHandler

Variable

ShowingType.None The none
ShowingType.Immediately The immediately
ShowingType.Fade The fade
durationSource Effect duration source
IsChangeGameObjectActivity True if changing GameObject activity in Show and Hide method

Property

alpha Gets or sets the alpha.
transitionAmount Sets the transition amount.
IsTransition Gets a value indicating whether this instance is transition.
useMaskTransition Gets or sets a value indicating whether this instance use mask transition.
transitionTexture Gets or sets the transition texture.
transparencyOnNoTexture Make it transparent when there is no texture. It usually turns white.
effectDuration Gets or sets the duration of the effect.
maxAlpha Gets or sets the maximum alpha.

Method

IsMain( ) Determines whether this instance is main.
Awake( ) Process on Awake
Transition(System.Single,UnityEngine.Texture2D,System.Func{mTask}) Transitions the panel.
ShowTransition(System.Single,UnityEngine.Texture2D) Shows with the transition.
HideTransition(System.Single,UnityEngine.Texture2D) Hides with the transition.
Validate( ) Callback method called when editing values in Unity Editor
OnDestroy( ) Process on Destroy
OnPointerDown(UnityEngine.EventSystems.PointerEventData) What to do when the event system sends a pointer down Event.
OnPointerUp(UnityEngine.EventSystems.PointerEventData) Evaluate eventData and transition to appropriate state.
Show(ShowingType) Shows the panel.
Hide(ShowingType) Hides the panel.
ShowImmediately( ) Shows the panel immediately.
HideImmediately( ) Hides the panel immediately.
Show(System.Single) Shows the panel.
Hide(System.Single) Hides the panel.

Reference