Skip to main content

RandomAnimationStart

A class in Root.Township, the global namespace.

Starts every layer of the object's Animator at a random point in its current state, so copies don't animate in sync.

Constructors​

MemberWhat it is
RandomAnimationStart()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Methods​

MemberWhat it is
protected virtual void Start()Plays each layer's current state from a random normalized time.