private static void BindAnimationTrack(BattleCharacterBehaviour behaviour, TrackAsset track) { behaviour.GetComponent<PlayableDirector>().SetGenericBinding( track, behaviour.MainSprite.GetComponent<Animator>()); }
private static void BindTransformTrack(BattleCharacterBehaviour behaviour, TrackAsset track) { behaviour.GetComponent<PlayableDirector>().SetGenericBinding( track, behaviour); }