UnityEssentials
Small but useful tools and features for Unity
|
Extensions for GameObject More...
Static Public Member Functions | |
static T | GetComponentRequired< T > (this GameObject self) |
Get a component. Log an error if it is not found. More... | |
static void | SetLayerRecursively (this GameObject self, int newLayer) |
Extensions for GameObject
Definition at line 6 of file GameObjectExtensions.cs.
|
static |
Get a component. Log an error if it is not found.
T | The type of component to get. |
T | : | Component |
Definition at line 13 of file GameObjectExtensions.cs.
|
static |
Definition at line 22 of file GameObjectExtensions.cs.