Example #1
0
        public void InitKeep(IFsmTransitionHelper infoProvider, ICharacterInfoProvider characterInfo)
        {
            AddState(ActionState.CreateKeepNullState(), infoProvider, characterInfo);

            AddState(ActionState.CreateVehiclesAnimState(), infoProvider, characterInfo);
            AddState(ActionState.CreateSightP3State(), infoProvider, characterInfo);
            AddState(ActionState.CreateRescueState(), infoProvider, characterInfo);
            
            AddState(ActionState.CreateRageStartState(), infoProvider, characterInfo);
            AddState(ActionState.CreateRageLoopState(), infoProvider, characterInfo);
            AddState(ActionState.CreateRageEndState(), infoProvider, characterInfo);
            
            AddState(ActionState.CreateSuccessPoseState(), infoProvider, characterInfo);

            _resetParam = ResetKeep;
        }