Skip to main content

Class GameObjectExtensions

Inheritance
System.Object
Inherited Members
Show
Syntax
public static class GameObjectExtensions

Methods

GetNetworkIdentity(GameObject)

Gets on a and throws if the GameObject does not have one.

Declaration
public static NetworkIdentity GetNetworkIdentity(this GameObject gameObject)
Parameters
TypeNameDescription
GameObjectgameObject
Returns
TypeDescription
Mirage.NetworkIdentityattached NetworkIdentity