// Start is called before the first frame update void Start() { ui = FindObjectOfType <BUI>(); controller = FindObjectOfType <BController>(); if (level >= 2) { controller.Tutorial_1_2(); controller.Tutorial_2_3(); } spawnPoints.ToList().ForEach((sp) => { sp.gameObject.SetActive(false); }); ActivateSpawnPointsOfLevel(Mathf.Max(0, level)); spawners.ToList().ForEach((sp) => { sp.gameObject.SetActive(false); }); ActivateSpawnersOfLevel(Mathf.Max(0, level)); }
public AController( BController bController) { _bController = bController; }
public void SetControll(BController controller) { this.controller = controller; }