Class ProBuilderMenuActionAttribute
Classes inheriting MenuAction and tagged with this attribute will be displayed in the ProBuilderEditor window. See ProBuilder API Examples for sample code.
Inheritance
System.Object
System.Attribute
ProBuilderMenuActionAttribute
Namespace: UnityEditor.ProBuilder
Syntax
[AttributeUsage(AttributeTargets.Class)]
public sealed class ProBuilderMenuActionAttribute : Attribute, _Attribute
Examples
using UnityEngine;
using UnityEditor;
using UnityEngine.ProBuilder;
using UnityEditor.ProBuilder;
using UnityEngine.ProBuilder.MeshOperations;
namespace ProBuilder.ExampleActions
{
[ProBuilderMenuAction]
public class MyCustomProBuilderMenuAction : MenuAction
{
// @todo Write your plugin
}
}