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