void OnDestroy() { if (instance == this) { instance = null; } }
void Awake() { if (instance != null) { Debug.LogError("More than one I3vrPointerManager instance was found in your scene. " + "Ensure that there is only one I3vrPointerManager."); this.enabled = false; return; } instance = this; }
public virtual void OnStart() { I3vrPointerManager.OnPointerCreated(this); }