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

19 lines
295 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VRCamera : Photon.Pun.MonoBehaviourPunCallbacks
{
[SerializeField] Camera cam;
void Start()
{
if (!photonView.IsMine)
{
cam.enabled = false;
}
}
}