Class SUAnimationsData
Data used to easily view/group/setup multiple (DOTween) Animations by the inspector
Namespace: Surfer
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class SUAnimationsData
Methods
CacheComponents(GameObject)
Cache components for all the animations
Declaration
public void CacheComponents(GameObject go)
Parameters
Type | Name | Description |
---|---|---|
GameObject | go | GameObject where to cache the components from |
KillAll()
Kill all the animations by their id
Declaration
public void KillAll()
Play(GameObject)
Play all the animations set up in the inspector
Declaration
public void Play(GameObject go)
Parameters
Type | Name | Description |
---|---|---|
GameObject | go | GameObject that will play the animations |