mUIControl

Summary

Components for managing object control.

Relation

UnityEngine.MonoBehaviour
mUniSm.Core.IMonoCacheBehaviour

Variable

Status.Began The began
Status.Moved The moved
Status.Ended The ended
allowKeyboard The allow keyboard
allowScreen The allow screen touch

Property

cameraTarget The target camera
moveTarget The move target
rotateTarget The rotate target
charaTarget The character target
moveSpeed Gets or sets the moving speed.
rotateSpeed Gets or sets the rotate speed.
strength Strength at screen control.
limit Strength limit at screen control.
cachedCameraTransform Gets the cached camera transform.
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

Method

OnBegan( ) Process on began.
OnAfterUpdated( ) Process on after updated.
OnEnd( ) Process on end
Validate( ) Callback method called when editing values in Unity Editor
Update( ) Updates this instance.
GetNormalizedDirection(UnityEngine.Vector3,mUIDirectionType) Gets the normalized direction.
GetNormalizedDirection(UnityEngine.Vector3,UnityEngine.Quaternion) Gets the normalized direction.
Apply(Status,UnityEngine.Vector3) Applies the specified status.
Awake( ) Awakes this instance.
OnDisable( ) Process on disable.
OnEnable( ) Process on enable.
OnDestroy( ) Process on destroy.

Reference