Method ValidateDeleteChildNetworkBehaviour
ValidateDeleteChildNetworkBehaviour()
This validates the fix for when a child GameObject with a NetworkBehaviour is deleted while the parent GameObject with a NetworkObject is spawned and is not deleted until a later time would cause an exception due to the NetworkBehaviour not being removed from the NetworkObject.ChildNetworkBehaviours list.
Declaration
[UnityTestAttribute]
public IEnumerator ValidateDeleteChildNetworkBehaviour()
Returns
Type | Description |
---|---|
IEnumerator |