C# Class UnityCommonLibrary.SimpleSpriteAnimation

Inheritance: UnityEngine.MonoBehaviour
Datei anzeigen Open project: thebeardphantom/UnityCommonLibrary

Public Properties

Property Type Description
frames UnityEngine.Sprite[]
loop bool
timeMode TimeMode

Public Methods

Method Description
GotoIndex ( int index ) : bool
PlayOneShot ( ) : void
SetDurationFromFPS ( ) : void

Private Methods

Method Description
Awake ( ) : void
Timer_TimerElapsed ( ) : void

Method Details

GotoIndex() public method

public GotoIndex ( int index ) : bool
index int
return bool

PlayOneShot() public method

public PlayOneShot ( ) : void
return void

SetDurationFromFPS() public method

public SetDurationFromFPS ( ) : void
return void

Property Details

frames public_oe property

public Sprite[],UnityEngine frames
return UnityEngine.Sprite[]

loop public_oe property

public bool loop
return bool

timeMode public_oe property

public TimeMode timeMode
return TimeMode