Removed in version 2019.1.14

Network.Destroy

Obsolete public static void Destroy(NetworkViewID viewID);

Description

Destroy the object associated with this view ID across the network.

The object is destroyed locally and remotely.

Note that this does not remove any RPCs accociated with the object or NetworkViewID, these have to be explicitly removed with the Network.RemoveRPCs method.


Obsolete public static void Destroy(GameObject gameObject);

Description

Destroy the object across the network.

The object is destroyed locally and remotely.

Did you find this page useful? Please give it a rating: