Exemplo n.º 1
0
        protected void Awake()
        {
            // Initialise all tracks to null
            ActiveActionStates = new Dictionary <EActionStateMachineTrack, ActionState>();

            Creator = new ActionStateCreator(new ActionStateDefinitions(Params));

            foreach (EActionStateMachineTrack track in Enum.GetValues(typeof(EActionStateMachineTrack)))
            {
                ActiveActionStates.Add(track, new NullActionState());
            }
        }
 public void SetActionStateCreator(IActionStateCreatorInterface inCreatorInterface)
 {
     Creator = inCreatorInterface;
 }