-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Feature request
draw a button for method decorated with [ContextMenu]
Example
The following would draw a button with face text “Do transform”.
When pressed it will call DoTransform().
If its validating method returns false, the button is greyed out and not interactable.
[ContextMenu(“Do transform”)]
public void DoTransform()
{
// ...
}
[ContextMenu(“Do transform”, validate: true)]
private bool IsPlaying()
{
return Application.isPlaying;
}Metadata
Metadata
Assignees
Labels
No labels