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
Type | Name | Description |
---|---|---|
GameObject | gameObject |
Returns
Type | Description |
---|---|
Mirage.NetworkIdentity | attached NetworkIdentity |