} //END Reset //--------------------------------------------// public void Awake() //--------------------------------------------// { BlockHelper.AddToBrandXRTechParent( transform ); if( this.transform.parent != null ) { _parentTo = this.transform.parent; } else { _parentTo = this.transform; } DestroyDuplicateInstance(); if( transform.parent == null ) { DontDestroyOnLoad( transform.gameObject ); } } //END Awake
} //END Instance //--------------------------------------------// public void Reset() //--------------------------------------------// { BlockHelper.AddToBrandXRTechParent( transform ); } //END Reset