mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
syntax
This commit is contained in:
parent
359184942f
commit
5c38f6f989
@ -29,9 +29,8 @@ void OnDestroy()
|
||||
onDestroyCalled?.Invoke();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// A network Behaviour that changes NetworkIdentity.spawned in OnDisable
|
||||
/// </summary>
|
||||
|
||||
// A network Behaviour that changes NetworkIdentity.spawned in OnDisable
|
||||
public class BadBehaviour : MonoBehaviour
|
||||
{
|
||||
public void OnDisable()
|
||||
@ -45,6 +44,7 @@ public void OnDisable()
|
||||
NetworkIdentity.spawned.Add(id, netId);
|
||||
}
|
||||
}
|
||||
|
||||
public class ClientSceneTests_DestroyAllClientObjects
|
||||
{
|
||||
public static readonly List<GameObject> _createdObjects = new List<GameObject>();
|
||||
|
Loading…
Reference in New Issue
Block a user