Class GameObjectExtensions
public static class GameObjectExtensions
- Inheritance
-
GameObjectExtensions
- Inherited Members
Methods
FetchComponent<T>(GameObject)
public static T FetchComponent<T>(this GameObject gameObject) where T : Component
Parameters
gameObject
GameObject
Returns
- T
Type Parameters
T
SetLayerRecursivly(GameObject, int)
public static void SetLayerRecursivly(this GameObject gameObject, int layer)
Parameters
gameObject
GameObjectlayer
int