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