SetLocalObject() private method

private SetLocalObject ( NetworkInstanceId netId, GameObject obj, bool isClient, bool isServer ) : void
netId NetworkInstanceId
obj UnityEngine.GameObject
isClient bool
isServer bool
return void
 static public void SetLocalObject(NetworkInstanceId netId, GameObject obj)
 {
     // if still receiving initial state, dont set isClient
     s_NetworkScene.SetLocalObject(netId, obj, s_IsSpawnFinished, false);
 }
Beispiel #2
0
 public static void SetLocalObject(NetworkInstanceId netId, GameObject obj)
 {
     s_NetworkScene.SetLocalObject(netId, obj, s_IsSpawnFinished, isServer: false);
 }