Beispiel #1
0
        public void InitiateBrain()
        {
            PlayerStats = FindObjectsOfType <PlayerStatus>().ToList();

            foreach (var player in PlayerStats)
            {
                Events.AddRange(player.GetComponents <BaseEvent>());
                Scenarios.AddRange(player.GetComponents <BaseScenario>());
                Choices.AddRange(player.GetComponents <BaseChoice>());
            }
        }