유니티 C# 포톤 방 참가 퇴장 알림 간단 구현 Photon RPC


유니티 C# 포톤 방 참가 퇴장 알림 간단 구현 Photon RPC

코드 작성 using System.Collections; using System.Collections.Generic; using UnityEngine; using Photon.Pun; using Photon.Realtime; using UnityEngine.UI; public class NetworkManager : MonoBehaviourPunCallbacks { public Text notionText; public PhotonView PV; private void Awake() { PV = GetComponent(); } public override void OnPlayerEnteredRoom(Player newPlayer) { PV.RPC("NotionRPC", RpcTarget.All, newP..


원문링크 : 유니티 C# 포톤 방 참가 퇴장 알림 간단 구현 Photon RPC