Example #1
0
 private void Awake()
 {
     AnimatorPlayable = AnimatorPlayable.alloc(gameObject.name, GetComponent <Animator>());
     AnimatorPlayable.Play();
     AnimatorPlayableComponentContainer.AnimatorPlayableComponents.Add(this);
 }