Skip to main content

AnimatorBoolAccess

A class in Root.Township, Alta.Networking.Animation.

Small helper that sets one bool on a plain Unity Animator, so a UnityEvent can drive it. Local only, not networked.

Constructors​

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

Fields​

2 private and internal fields
MemberWhat it is
private Animator animatorThe Unity animator.
private string boolNameName of the animator bool.

Methods​

MemberWhat it is
void Set(bool value)Sets the animator bool to the given value.