폴더명
IntegratedAsset : 통합자산, 그냥 직접 만든 프리팹 모아둘때 씀
'Unity > C#' 카테고리의 다른 글
| 자주쓰는 c# 소켓 통신 모음 (0) | 2021.09.08 |
|---|---|
| 유니티 빌드 관련 코드 (0) | 2021.08.09 |
| 유니티 좌표계산 모음 (0) | 2021.07.01 |
폴더명
IntegratedAsset : 통합자산, 그냥 직접 만든 프리팹 모아둘때 씀
| 자주쓰는 c# 소켓 통신 모음 (0) | 2021.09.08 |
|---|---|
| 유니티 빌드 관련 코드 (0) | 2021.08.09 |
| 유니티 좌표계산 모음 (0) | 2021.07.01 |
API들
https://doc-api.photonengine.com/en/pun/v2/index.html
Photon Unity Networking 2: Main Page
Introduction Photon is a real-time multiplayer game development framework that is fast, lean and flexible. Photon consists of a server and multiple client SDKs for major platforms. Photon Unity Network (PUN) is our is our take on a Unity specific, high-lev
doc-api.photonengine.com
추가해야할것들
using Photon.Pun;
변경되는 함수
public class PhotonInit : Photon.PunBehaviour
->
public class PhotonInit : MonoBehaviourPunCallbacks
PhotonNetwork.ConnectUsingSettings(serverName);
PhotonNetwork.ConnectToBestCloudServer(serverName);
->
PhotonNetwork.ConnectUsingSettings();
PhotonNetwork.ConnectToBestCloudServer();
public override void OnPhotonRandomJoinFailed(object[] codeAndMsg)
{
}
->
public override void OnJoinRandomFailed(short returnCode, string message)
{
}
public override void OnPhotonCreateRoomFailed(object[] codeAndMsg)
{
}
->
public override void OnCreateRoomFailed(short returnCode, string message)
{
}
photonView.isMine
->
photonView.IsMine
PhotonTargets.All
->
RpcTarget.All
PhotonNetwork.PhotonServerSettings.ChatAppID
->
Photon.Pun.PhotonNetwork.PhotonServerSettings.AppSettings.AppIdChat
public override void OnReceivedRoomListUpdate()
{
RoomInfo[] rooms = PhotonNetwork.GetRoomList();
}
->
public override void OnRoomListUpdate(List<RoomInfo> roomList)
{
}
삭제된 함수
public override void OnConnectedToPhoton()
{
}
| 자주 쓰는 유니티 포톤 코드 (0) | 2021.07.26 |
|---|---|
| 포톤 보이스 (0) | 2021.07.10 |
| 포톤 챗 (0) | 2021.07.07 |
https://assetstore.unity.com/packages/tools/network/photon-bolt-free-127156
Photon Bolt FREE | 네트워크 | Unity Asset Store
Get the Photon Bolt FREE package from Exit Games and speed up your game development process. Find this & other 네트워크 options on the Unity Asset Store.
assetstore.unity.com





하다보니 이게 게임파일을 서버에 올리는 방식이라 좀 나중에 하기로 함
| 포톤 챗 (0) | 2021.07.07 |
|---|---|
| 포톤 커스텀 플레이어 만들기 (0) | 2021.07.04 |
| 포톤 설치 (0) | 2020.12.02 |