// Use this for initialization void Awake() { if (googleGame == null) { DontDestroyOnLoad (this.gameObject); googleGame = this; } else if (googleGame != this) { Destroy (gameObject); } }
// Use this for initialization void Awake() { if (googleGame == null) { DontDestroyOnLoad(this.gameObject); googleGame = this; } else if (googleGame != this) { Destroy(gameObject); } }