public static TransformManagerInterface Instance; //the generic instance of the manager, whether it be with out without positional tracking /// <summary> /// Initialize generic Instance /// </summary> protected void Awake() { if (Instance == null) { Instance = this; } }
/// <summary> /// Nullify instance when this object is destroyed /// </summary> protected void OnDestroy() { Instance = null; }
/// <summary> /// Initialize generic Instance /// </summary> protected void Awake() { if (Instance == null) Instance = this; }