Version: 2022.3
언어: 한국어

MonoBehaviour.OnConnectedToServer()

매뉴얼로 전환

설명

Called on the client when you have successfully connected to a server.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void OnConnectedToServer() { Debug.Log("Connected to server"); // Send local player name to server ... } }