Exemple #1
0
        public static void Initialise(UnityEngine.Animator animator, TMonoBehaviour monoBehaviour)
        {
            SceneLinkedSMB <TMonoBehaviour>[] sceneLinkedSMBs = animator.GetBehaviours <SceneLinkedSMB <TMonoBehaviour> >();

            for (int i = 0; i < sceneLinkedSMBs.Length; i++)
            {
                sceneLinkedSMBs[i].InternalInitialise(animator, monoBehaviour);
            }
        }