Example #1
0
 // Token: 0x060060A1 RID: 24737 RVA: 0x002207B8 File Offset: 0x0021EBB8
 private void CreatePortal()
 {
     if (RoomManager.inRoom)
     {
         PortalInternal.CreatePortal(this.mWorld, this.mWorld.GetBestInstance(null, false), VRCPlayer.Instance.transform.position, VRCPlayer.Instance.transform.forward, true);
     }
 }
Example #2
0
 // Token: 0x06006078 RID: 24696 RVA: 0x0021FB88 File Offset: 0x0021DF88
 private void CreatePortal()
 {
     if (RoomManager.inRoom && PortalInternal.CreatePortal(this.mWorld, this.worldInstance, VRCPlayer.Instance.transform.position, VRCPlayer.Instance.transform.forward, true))
     {
         this.portalButton.gameObject.SetActive(false);
     }
 }