// 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); }
public CharactersInitialisation(SetupScene setupSceneFrom) { playersManager = PlayersManager.playersManager; setupScene = setupSceneFrom; }
public void Start() { setupScene = gameManager.gameObject.AddComponent <SetupScene> (); setupScene.StartLevelLoading(); }