示例#1
0
        public override void Execute()
        {
            switch (state)
            {
            case ControlState.Start:
                QuestMachineMessages.StartSpawner(spawnerName);
                break;

            case ControlState.Stop:
                QuestMachineMessages.StopSpawner(spawnerName);
                break;

            case ControlState.Despawn:
                QuestMachineMessages.DespawnSpawner(spawnerName);
                break;
            }
        }