Esempio n. 1
0
 // -------------------------------------------------------------------------------
 // OnDestroy
 // -------------------------------------------------------------------------------
 public void OnDestroy()
 {
     AnchorManager.UnRegisterPortalAnchor(name);
 }
Esempio n. 2
0
 // -------------------------------------------------------------------------------
 // OnDestroy
 // -------------------------------------------------------------------------------
 public void OnDestroy()
 {
     AnchorManager.UnRegisterStartAnchor(this.gameObject);
 }
Esempio n. 3
0
 // -------------------------------------------------------------------------------
 // Awake
 // -------------------------------------------------------------------------------
 public void Awake()
 {
     AnchorManager.RegisterPortalAnchor(name, transform.position);
 }
Esempio n. 4
0
 // -------------------------------------------------------------------------------
 // Awake
 // -------------------------------------------------------------------------------
 public void Awake()
 {
     AnchorManager.RegisterStartAnchor(this.gameObject);
 }