Table of Contents

Class Extensions

Namespace
Framework.Common.Extensions
Assembly
Assembly-CSharp.dll

공통 확장 메서드 모음.

public static class Extensions
Inheritance
object
Extensions

Methods

GetOrAdd<T>(GameObject)

컴포넌트가 없으면 추가 후 반환.

public static T GetOrAdd<T>(this GameObject go) where T : Component

Parameters

go GameObject

Returns

T

Type Parameters

T

SetChildrenActive(Transform, bool)

자식 오브젝트 전체 활성화/비활성화.

public static void SetChildrenActive(this Transform parent, bool active)

Parameters

parent Transform
active bool