@@ -172,7 +172,7 @@ internal static NetworkedObject CreateSpawnedObject(int networkedPrefabId, uint
172
172
if ( readSyncedVar ) netObject . SetFormattedSyncedVarData ( reader ) ;
173
173
174
174
netObject . NetworkedPrefabName = netManager . NetworkConfig . NetworkPrefabNames [ networkedPrefabId ] ;
175
- netObject . IsSpawned = true ;
175
+ netObject . isSpawned = true ;
176
176
netObject . isPooledObject = false ;
177
177
178
178
if ( netManager . isServer ) netObject . NetworKId = GetNetworkObjectId ( ) ;
@@ -191,7 +191,7 @@ internal static NetworkedObject CreateSpawnedObject(int networkedPrefabId, uint
191
191
192
192
internal static void UnSpawnObject ( NetworkedObject netObject )
193
193
{
194
- if ( ! netObject . IsSpawned )
194
+ if ( ! netObject . isSpawned )
195
195
{
196
196
if ( LogHelper . CurrentLogLevel <= LogLevel . Normal ) LogHelper . LogWarning ( "Cannot unspawn objects that are not spawned" ) ;
197
197
return ;
@@ -213,7 +213,7 @@ internal static void UnSpawnObject(NetworkedObject netObject)
213
213
//Server only
214
214
internal static void SpawnPlayerObject ( NetworkedObject netObject , uint clientId , BitWriter payload = null )
215
215
{
216
- if ( netObject . IsSpawned )
216
+ if ( netObject . isSpawned )
217
217
{
218
218
if ( LogHelper . CurrentLogLevel <= LogLevel . Normal ) LogHelper . LogWarning ( "Object already spawned" ) ;
219
219
return ;
@@ -241,7 +241,7 @@ internal static void SpawnPlayerObject(NetworkedObject netObject, uint clientId,
241
241
uint netId = GetNetworkObjectId ( ) ;
242
242
netObject . NetworKId = netId ;
243
243
spawnedObjects . Add ( netId , netObject ) ;
244
- netObject . IsSpawned = true ;
244
+ netObject . isSpawned = true ;
245
245
netObject . sceneObject = false ;
246
246
netObject . isPlayerObject = true ;
247
247
netManager . ConnectedClients [ clientId ] . PlayerObject = netObject ;
@@ -283,7 +283,7 @@ internal static void SpawnPlayerObject(NetworkedObject netObject, uint clientId,
283
283
284
284
internal static void SpawnObject ( NetworkedObject netObject , uint ? clientOwnerId = null , BitWriter payload = null )
285
285
{
286
- if ( netObject . IsSpawned )
286
+ if ( netObject . isSpawned )
287
287
{
288
288
if ( LogHelper . CurrentLogLevel <= LogLevel . Normal ) LogHelper . LogWarning ( "Object already spawned" ) ;
289
289
return ;
@@ -306,7 +306,7 @@ internal static void SpawnObject(NetworkedObject netObject, uint? clientOwnerId
306
306
uint netId = GetNetworkObjectId ( ) ;
307
307
netObject . NetworKId = netId ;
308
308
spawnedObjects . Add ( netId , netObject ) ;
309
- netObject . IsSpawned = true ;
309
+ netObject . isSpawned = true ;
310
310
netObject . sceneObject = false ;
311
311
312
312
if ( clientOwnerId != null )
@@ -360,7 +360,7 @@ internal static void OnDestroyObject(uint networkId, bool destroyGameObject)
360
360
//Someone owns it.
361
361
netManager . ConnectedClients [ spawnedObjects [ networkId ] . OwnerClientId ] . OwnedObjects . RemoveAll ( x => x . NetworKId == networkId ) ;
362
362
}
363
- spawnedObjects [ networkId ] . IsSpawned = false ;
363
+ spawnedObjects [ networkId ] . isSpawned = false ;
364
364
365
365
if ( netManager != null && netManager . isServer )
366
366
{
0 commit comments