Mad Level Manager
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
MadLevelManager.MadAnim Class Referenceabstract
Inheritance diagram for MadLevelManager.MadAnim:
MadLevelManager.MadAnimColor MadLevelManager.MadAnimMove MadLevelManager.MadAnimRotate MadLevelManager.MadAnimScale

Public Types

enum  WrapMode { Once, Loop, PingPong, ClampForever }
 

Public Member Functions

void Play ()
 
void PlayNow ()
 
void Stop ()
 
void Reset ()
 
virtual void UpdateOrigin ()
 

Static Public Member Functions

static int PlayAnimation (GameObject gameObject, string animationName, bool fromTheBeginning=false)
 
static int PlayAnimationNow (GameObject gameObject, string animationName, bool fromTheBeginning=false)
 
static int StopAnimation (GameObject gameObject, string animationName)
 
static List< MadAnimFindAnimations (GameObject gameObject, string name)
 
static List< MadAnimAllAnimations (GameObject gameObject)
 
static MadAnim PlayingAnimation (GameObject gameObject, Type type)
 
static T PlayingAnimation< T > (GameObject gameObject)
 

Public Attributes

string animationName = "New Animation"
 
MadiTween.EaseType easing = MadiTween.EaseType.easeOutCubic
 
float duration = 1
 
float delay = 0
 
float offset = 0
 
WrapMode wrapMode = WrapMode.Once
 
bool queue = false
 
bool playOnAwake = false
 
bool destroyObjectOnFinish
 
bool sendMessageOnFinish
 
GameObject messageReceiver
 
string messageName
 
bool playAnimationOnFinish
 
string playAnimationOnFinishName
 
bool playAnimationOnFinishFromTheBeginning
 

Protected Member Functions

abstract void Anim (float progress)
 
virtual void Start ()
 
abstract void StartAnim ()
 

Properties

bool isPlaying [get]
 
bool isDelaying [get]
 

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