Class SlideCanvasControllerTransitionAnimation
The SlideCanvasControllerTransitionAnimation performs a slide animation of its TargetViewController.
The slide animation requires an off-screen position to be slid to/from. This off-screen position is determined by the offScreenAngularDirection and the offScreenScalar. The angular direction value specifies the direction from the center moving clockwise through 360°. For example, 0° points to the top, 90° points right, 180° points down, and 270° points left. The scalar value determines how far along this direction the off-screen position is. A value of 1 specifies that the off-screen position will be placed exactly off-screen (i.e. the rects will be touching). Values less than one interpolate between the center and this point.
Specify a transitionDirection to determine whether the animator is sliding to or from the center. For example, an offScreenAngularDirection of 90°, an offScreenScalar value of one, and a direction of TransitionOnScreen would slide the view controller from fully off-screen right to the center.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
SlideCanvasControllerTransitionAnimation
Inherited Members
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()
Assembly: UI Graph API Documentation Project.dll
Syntax
[CreateAssetMenu(fileName = "New Slide Animation", menuName = "UI Graph/UICanvas/Transition Sequence Animator/Slide Animation", order = 120)]
public class SlideCanvasControllerTransitionAnimation : CanvasControllerTransitionSequenceAnimation, ISequencable<CanvasControllerTransitionContext>
Fields
offScreenAngularDirection
The direction that the target view controller will be slid.
Declaration
[Range(0F, 359.9F)]
public float offScreenAngularDirection
Field Value
Type |
Description |
System.Single |
|
offScreenScalar
The normalized amount the target view controller will be slid. A value of one equates to fully off-screen.
Declaration
[Range(0F, 1F)]
public float offScreenScalar
Field Value
Type |
Description |
System.Single |
|
Methods
InitializeAnimationWithContext(CanvasControllerTransitionContext)
Declaration
public override void InitializeAnimationWithContext(CanvasControllerTransitionContext context)
Parameters
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)
Implements