Class GameObjectExtension
Inheritance
GameObjectExtension
Assembly: Xareus.Unity.dll
Syntax
public static class GameObjectExtension
Methods
AddUFObjectComponent(GameObject)
Declaration
[Obsolete("Use AddXuObjectComponent instead")]
public static string AddUFObjectComponent(this GameObject obj)
Parameters
| Type |
Name |
Description |
| GameObject |
obj |
|
Returns
AddXuObjectComponent(GameObject)
Adds a new XUObject on the given game object
Declaration
public static string AddXuObjectComponent(this GameObject obj)
Parameters
| Type |
Name |
Description |
| GameObject |
obj |
|
Returns
| Type |
Description |
| string |
The unique id of the XUObject
|