void Awake() { if (instance == null) { instance = this; DontDestroyOnLoad(this.gameObject); } else { Destroy(gameObject); } }
// Use this for initialization void Start() { _overallController = GameObject.Find("OverallManager").GetComponent <OverallController>(); SetChapter(); }