Table of Contents

Method GetOrAddComponent

Namespace
Pinwheel.Poseidon
Assembly
Pinwheel.Poseidon.Runtime.dll

GetOrAddComponent<T>(GameObject)

public static T GetOrAddComponent<T>(GameObject g) where T : Component

Parameters

g GameObject

Returns

T

Type Parameters

T