Summary
If the `obj` is a
UnityEngine.Component or UnityEngine.GameObject, this method outputs its `transform`
and returns true.
- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
- Containing Type
- FMUtilities
Syntax
public static bool TryGetTransform(this Object obj, out Transform transform)
Parameters
| Name | Type | Description |
|---|---|---|
| obj | Object | |
| transform | Transform |
Return Value
| Type | Description |
|---|---|
| bool |