summaryrefslogtreecommitdiff
path: root/VRCSDK3Worlds/Assets/Udon/Editor/ProgramSources/Attributes/UdonProgramSourceNewMenuAttribute.cs
blob: 17be4606da434bf9a13b2cf43fbb7762da302316 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;

namespace VRC.Udon.Editor.ProgramSources.Attributes
{
    [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
    public class UdonProgramSourceNewMenuAttribute : Attribute
    {
        public Type Type { get; }
        public string DisplayName { get; }

        public UdonProgramSourceNewMenuAttribute(Type type, string displayName)
        {
            Type = type;
            DisplayName = displayName;
        }
    }
}