DeltaVR/Assets/Multiplayer/VRNetworkController.cs
2022-06-29 14:45:17 +03:00

24 lines
414 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
using Photon.Realtime;
public class VRNetworkController : MonoBehaviourPunCallbacks
{
private void Awake()
{
print("TEST");
if (!photonView.IsMine)
{
gameObject.SetActive(false);
}
else
{
gameObject.SetActive(true);
}
}
}