public void CmdSpawn()
 {
     try
     {
         NetworkServer.Spawn((GameObject)Instantiate(_prefabGameObject, Vector3.zero, Quaternion.identity));
     }
     catch (System.Exception exception)
     {
         UNetStudyLog.Exception(exception);
     }
 }
Пример #2
0
 private void Start()
 {
     UNetStudyLog.Initialize(this);
 }