Class EditorHelper
Namespace: UnityEditor.Animations.Rigging
Syntax
public static class EditorHelper
Methods
GetClosestComponent<T>(Transform, Transform)
Declaration
public static T GetClosestComponent<T>(Transform transform, Transform root = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Transform | transform | |
| Transform | root |
Returns
| Type | Description |
|---|---|
| T |
Type Parameters
| Name | Description |
|---|---|
| T |
HandleClickSelection(GameObject, Event)
Declaration
public static void HandleClickSelection(GameObject gameObject, Event evt)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | gameObject | |
| Event | evt |