// Start is called before the first frame update
 void Awake()
 {
     annualGrowth  = new Vector3(annualWidthGrowth, annualLengthGrowth, annualWidthGrowth);
     setup         = GameObject.Find("Setup").GetComponent <SetupScene>();
     timeManager   = GameObject.Find("Time Manager").GetComponent <TimeManager>();
     currentLenght = 0f;
     currentWidth  = 0f;
     geneticInfo   = new Genetic(1);
 }
예제 #2
0
 public CharactersInitialisation(SetupScene setupSceneFrom)
 {
     playersManager = PlayersManager.playersManager;
     setupScene     = setupSceneFrom;
 }
예제 #3
0
 public void Start()
 {
     setupScene = gameManager.gameObject.AddComponent <SetupScene> ();
     setupScene.StartLevelLoading();
 }