Example #1
0
        /// <summary>
        /// New way to create sub-state machines without destroying what exists first.
        /// </summary>
        protected override void CreateStateMachine()
        {
            int rLayerIndex = mMotionLayer._AnimatorLayerIndex;
            MotionController rMotionController = mMotionController;

            SpellCastingPackDefinition.ExtendBasicSpellCasting(rMotionController, rLayerIndex);

            // Run any post processing after creating the state machine
            OnStateMachineCreated();
        }