IGUtils.

GetTransform(Object) Method

Summary

Returns the UnityEngine.GameObject.transform or UnityEngine.Component.transform.
Assembly
Kybernetik.InspectorGadgets.dll
Namespace
InspectorGadgets
Containing Type
IGUtils

Syntax

public static Transform GetTransform(Object obj)

Parameters

Name Type Description
obj Object

Return Value

Type Description
Transform