Class PathEditorTool<T>
Inherited Members
Namespace: UnityEditor.U2D.Path
Assembly: solution.dll
Syntax
public abstract class PathEditorTool<T> : EditorTool where T : ScriptablePath
Type Parameters
| Name | Description |
|---|---|
| T |
Properties
| Name | Description |
|---|---|
| enableSnapping | |
| toolbarIcon | The icon and tooltip for this custom editor tool. If this function is not implemented, the toolbar displays the Inspector icon for the target type. If no target type is defined, the toolbar displays the Tool Mode icon. |
Methods
| Name | Description |
|---|---|
| GetCustomDrawer(Object) | |
| GetLinearTangentIsZero(Object) | |
| GetPath(Object) | |
| GetShape(Object) | |
| Initialize(T, SerializedObject) | |
| IsAvailable() | Checks whether the custom editor tool is available based on the state of the editor. |
| OnActivate() | |
| OnCustomGUI(T) | |
| OnDeactivate() | |
| SetPath(Object) | |
| SetShape(T, SerializedObject) |