Пример #1
0
        internal static void SetLocalObjectOnServer(uint netId, GameObject obj)
        {
            if (LogFilter.Debug)
            {
                Debug.Log("SetLocalObjectOnServer " + netId + " " + obj);
            }

            s_NetworkScene.SetLocalObject(netId, obj, false, true);
        }
Пример #2
0
 public static void SetLocalObject(NetworkInstanceId netId, GameObject obj)
 {
     // if still receiving initial state, dont set isClient
     s_NetworkScene.SetLocalObject(netId, obj, s_IsSpawnFinished, false);
 }