Version: 5.6

Network.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"); } }