Skip to main content

AnimationRandomStart

A class in Root.Township, the global namespace.

Client component that jumps an animator forward by a random time at start so copies of the same animation don't play in step.

Constructors​

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

Fields​

1 private and internal field
MemberWhat it is
private Animator animatorThe animator to offset.

Methods​

1 private and internal method
MemberWhat it is
private void Start()Client: advances the animator by a random 0 to 1000 seconds.