Summary
The
UnityEngine.Transform to search for UnityEngine.AnimationClips beneath.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- ICharacterRoot
Syntax
Transform transform { get; }
Remarks
Example:
Implementing this interface in a
UnityEngine.MonoBehaviour
will automatically inherit this property so you don't need to do anything else:
public class MyComponent : MonoBehaviour, ICharacterRoot
{
}
But if you want to have your script point to a different object as the root,
you can explicitly implement this property:
public class MyComponent : MonoBehaviour, ICharacterRoot
{
Transform ICharacterRoot.transform => ???;
}Value
| Type | Description |
|---|---|
| Transform |