void Awake() { obj = this.gameObject; self = this; DontDestroyOnLoad(gameObject); //防止销毁自己 }
void Awake() { obj = this.gameObject; self = this; DontDestroyOnLoad(gameObject); //防止销毁自己 }
void Awake() { obj = this.gameObject; self = this; DontDestroyOnLoad(gameObject); //防止销毁自己 }
void Awake() { obj = this.gameObject; self = this; DontDestroyOnLoad(gameObject); //防止销毁自己 }