19 lines
623 B
C#
19 lines
623 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
namespace Beyond
|
|
{
|
|
/// <summary>
|
|
/// This attribute is used to draw aditional custom editor like a ToolBar for <see cref="vItem"/> in partial classes of the <see cref="vItemDrawer"/> using <see cref="vItemDrawer.OnDrawItem"/>
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
|
|
public class bItemDrawerToolBarAttribute : Attribute
|
|
{
|
|
public string title;
|
|
public bItemDrawerToolBarAttribute(string title)
|
|
{
|
|
this.title = title;
|
|
}
|
|
}
|
|
} |