예제 #1
0
 void Start()
 {
     srv = (NetworkServerBehaviour)gameObject.GetComponent(typeof(NetworkServerBehaviour));
     clt = (NetworkClientBehaviour)gameObject.GetComponent(typeof(NetworkClientBehaviour));
 }
 void Start()
 {
     srv = (NetworkServerBehaviour)gameObject.GetComponent(typeof(NetworkServerBehaviour));
     clt = (NetworkClientBehaviour)gameObject.GetComponent(typeof(NetworkClientBehaviour));
 }