NetworkObjectExtension Members
The NetworkObjectExtension type exposes the following members.
Methods
Name | Description | |
---|---|---|
InjectNetwork |
Injects a network component into the GameObject if it does not already have one.
|
|
IsNetworkComponent |
Checks if the GameObject has a network component attached.
|
|
IsSamePrefab(GameObject, GameObject) |
Checks if the GameObject is the same prefab as another GameObject by comparing their network components.
|
|
IsSamePrefab(GameObject, String) |
Checks if the GameObject is the same prefab as specified by a prefab signature.
|
|
ReleaseNetwork |
Removes the network component from the GameObject if it exists.
|