void Awake() { if (instance == null) { instance = this; } else { Destroy(gameObject); } }
void Awake () { if (instance == null) { instance = this; } else { Destroy (gameObject); } if (KeepDataOnPlayMode.instance.firstExecutioin){ KeepDataOnPlayMode.instance.firstExecutioin = false; ClearScreenFirst (); }else{ ClearScreen(); } }