Table of Contents

Class GameObjectExtensions

Namespace
Zorro.Core
Assembly
Zorro.Core.Runtime.dll
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 GameObject
layer int