// Use this for initialization void Start() { //levelBehavior = Camera.main.GetComponent<LevelButtonBehavior>(); lController = levelController.GetComponent<levelBehavior>(); // Disable prevlevel button }
// Use this for initialization void Start() { lController = levelController.GetComponent<levelBehavior>(); }