private void Awake() { if (s_Instance == null) { s_Instance = this; DontDestroyOnLoad(this); } else if (this != s_Instance) { Destroy(gameObject); } SetupVR(); }
private void Awake () { if (s_Instance == null) { s_Instance = this; DontDestroyOnLoad (this); } else if (this != s_Instance) { Destroy (gameObject); } SetupVR (); }