Class ScaleCanvasControllerTransitionAnimation
The ScaleCanvasControllerTransitionAnimation performs a scale animation of its TargetViewController.
Specify the offScreenScale to determine the view's scale value when the view controller is 'off-screen' and a transitionDirection to determine whether the animator is scaling to or from this value. For example, an offScreenScale value of Vector2.zero and a direction of TransitionOnScreen would scale up from Vector2.zero to Vector2.one.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
ScaleCanvasControllerTransitionAnimation
Implements
Inherited Members
TransitionSequenceAnimation<CanvasController, CanvasControllerTransitionContext>.transitionDirection
UnityEngine.ScriptableObject.SetDirty()
UnityEngine.ScriptableObject.CreateInstance(System.String)
UnityEngine.ScriptableObject.CreateInstance(System.Type)
UnityEngine.ScriptableObject.CreateInstance<T>()
UnityEngine.Object.GetInstanceID()
UnityEngine.Object.GetHashCode()
UnityEngine.Object.Equals(System.Object)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
UnityEngine.Object.Instantiate(UnityEngine.Object)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform, System.Boolean)
UnityEngine.Object.Instantiate<T>(T)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform, System.Boolean)
UnityEngine.Object.Destroy(UnityEngine.Object, System.Single)
UnityEngine.Object.Destroy(UnityEngine.Object)
UnityEngine.Object.DestroyImmediate(UnityEngine.Object, System.Boolean)
UnityEngine.Object.DestroyImmediate(UnityEngine.Object)
UnityEngine.Object.FindObjectsOfType(System.Type)
UnityEngine.Object.DontDestroyOnLoad(UnityEngine.Object)
UnityEngine.Object.DestroyObject(UnityEngine.Object, System.Single)
UnityEngine.Object.DestroyObject(UnityEngine.Object)
UnityEngine.Object.FindSceneObjectsOfType(System.Type)
UnityEngine.Object.FindObjectsOfTypeIncludingAssets(System.Type)
UnityEngine.Object.FindObjectsOfType<T>()
UnityEngine.Object.FindObjectOfType<T>()
UnityEngine.Object.FindObjectsOfTypeAll(System.Type)
UnityEngine.Object.FindObjectOfType(System.Type)
UnityEngine.Object.ToString()
UnityEngine.Object.name
UnityEngine.Object.hideFlags
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Pelican7.UIGraph
Assembly: UI Graph API Documentation Project.dll
Syntax
[CreateAssetMenu(fileName = "New Scale Animation", menuName = "UI Graph/UICanvas/Transition Sequence Animator/Scale Animation", order = 120)]
public class ScaleCanvasControllerTransitionAnimation : CanvasControllerTransitionSequenceAnimation, ISequencable<CanvasControllerTransitionContext>
Fields
offScreenScale
The scale value when the view controller is off-screen.
Declaration
public Vector2 offScreenScale
Field Value
Type | Description |
---|---|
UnityEngine.Vector2 |
Methods
InitializeAnimationWithContext(CanvasControllerTransitionContext)
Declaration
public override void InitializeAnimationWithContext(CanvasControllerTransitionContext context)
Parameters
Type | Name | Description |
---|---|---|
CanvasControllerTransitionContext | context |
Overrides
Pelican7.UIGraph.TransitionSequenceAnimation<Pelican7.UIGraph.CanvasController, Pelican7.UIGraph.CanvasControllerTransitionContext>.InitializeAnimationWithContext(Pelican7.UIGraph.CanvasControllerTransitionContext)
UpdateProgress(Single)
Declaration
public override void UpdateProgress(float progress01)
Parameters
Type | Name | Description |
---|---|---|
System.Single | progress01 |
Overrides
Pelican7.UIGraph.TransitionSequenceAnimation<Pelican7.UIGraph.CanvasController, Pelican7.UIGraph.CanvasControllerTransitionContext>.UpdateProgress(System.Single)