My Project
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Properties | List of all members
SDemoAnimation Class Reference

SWAN Demo Animation (Tweening). More...

Inheritance diagram for SDemoAnimation:

Public Types

enum  LoopType { None = 0 , Loop , PingPong }
 

Public Member Functions

SDemoControl Move (GameObject targetGO, Vector3 fromPosition, Vector3 toPosition, float time, LoopType loop=LoopType.None, Action onComplete=null)
 
SDemoControl Move (GameObject targetGO, Vector3 fromPosition, Vector3 toPosition, float time, float delay, LoopType loop=LoopType.None, Action onComplete=null)
 
SDemoControl Scale (GameObject targetGO, Vector3 fromScale, Vector3 toScale, float time, LoopType loop=LoopType.None, Action onComplete=null)
 
SDemoControl Scale (GameObject targetGO, Vector3 fromScale, Vector3 toScale, float time, float delay, LoopType loop=LoopType.None, Action onComplete=null)
 
SDemoControl Rotate (GameObject targetGO, Vector3 fromEulerAngle, Vector3 toEulerScale, float time, LoopType loop=LoopType.None, Action onComplete=null)
 
SDemoControl Rotate (GameObject targetGO, Vector3 fromEulerAngle, Vector3 toEulerScale, float time, float delay, LoopType loop=LoopType.None, Action onComplete=null)
 
SDemoControl FloatTo (float fromValue, float toValue, float time, Action< float > onUpdate, LoopType loop=LoopType.None, Action onComplete=null)
 
SDemoControl FloatTo (float fromValue, float toValue, float time, float delay, Action< float > onUpdate, LoopType loop=LoopType.None, Action onComplete=null)
 
SDemoControl Vector2To (Vector2 fromValue, Vector2 toValue, float time, Action< Vector2 > onUpdate, LoopType loop=LoopType.None, Action onComplete=null)
 
SDemoControl Vector2To (Vector2 fromValue, Vector2 toValue, float time, float delay, Action< Vector2 > onUpdate, LoopType loop=LoopType.None, Action onComplete=null)
 
SDemoControl Vector3To (Vector3 fromValue, Vector3 toValue, float time, Action< Vector3 > onUpdate, LoopType loop=LoopType.None, Action onComplete=null)
 
SDemoControl Vector3To (Vector3 fromValue, Vector3 toValue, float time, float delay, Action< Vector3 > onUpdate, LoopType loop=LoopType.None, Action onComplete=null)
 
SDemoControl Vector4To (Vector4 fromValue, Vector4 toValue, float time, Action< Vector4 > onUpdate, LoopType loop=LoopType.None, Action onComplete=null)
 
SDemoControl Vector4To (Vector4 fromValue, Vector4 toValue, float time, float delay, Action< Vector4 > onUpdate, LoopType loop=LoopType.None, Action onComplete=null)
 
SDemoControl Wait (float time, Action onComplete)
 
SDemoControl Wait (float time, Action onComplete, LoopType loop=LoopType.None)
 
SDemoControl Wait (float time, float delay, Action onComplete, LoopType loop=LoopType.None)
 
SDemoControl WaitFrames (int frameNum, Action onComplete)
 
SDemoControl WaitFrames (int frameNum, Action onComplete, LoopType loop=LoopType.None)
 
SDemoControl WaitFrames (int frameNum, float delay, Action onComplete, LoopType loop=LoopType.None)
 

Properties

static SDemoAnimation Instance [get]
 

Detailed Description

SWAN Demo Animation (Tweening).


The documentation for this class was generated from the following file: