Пример #1
0
 void Init()
 {
     CreatureManager.Init();
     CreatureManager._Wolf  = GameData.instance._Wolf;
     CreatureManager._Sheep = GameData.instance._Sheep;
     CreatureManager.Create(ECreatureSpecies.Wolf, new Vector3(Random.value * 25f, 0.5f, Random.value * 25f));
     CreatureManager.Create(ECreatureSpecies.Sheep, new Vector3(Random.value * 25f, 0.5f, Random.value * 25f));
 }