オリジナルキャラをネットワーク上に生成する






オリジナルキャラを生成する
using System.Collections; using System.Collections.Generic; using UnityEngine; using Photon.Pun; public class RoomManager : MonoBehaviourPunCallbacks { void Start() { // ★修正 // 「TestChara」を「Player」に変更 PhotonNetwork.Instantiate("Player", new Vector3(0, 5, 0), Quaternion.identity); } }
C#

【2020版】BattleOnline(基礎/全34回)
他のコースを見る





オリジナルキャラを生成する
using System.Collections; using System.Collections.Generic; using UnityEngine; using Photon.Pun; public class RoomManager : MonoBehaviourPunCallbacks { void Start() { // ★修正 // 「TestChara」を「Player」に変更 PhotonNetwork.Instantiate("Player", new Vector3(0, 5, 0), Quaternion.identity); } }
C#

オリジナルキャラをネットワーク上に生成する