Heroes_of_Hiis/Assets/Oculus/AudioManager/Scripts/Utils/InspectorNoteAttribute.cs

36 lines
626 B
C#
Raw Normal View History

2022-03-07 15:52:41 +00:00
using UnityEngine;
/*
-----------------------
InspectorNoteAttribute()
-----------------------
*/
public class InspectorNoteAttribute : PropertyAttribute
{
public readonly string header;
public readonly string message;
public InspectorNoteAttribute(string header, string message = "")
{
this.header = header;
this.message = message;
}
}
/*
-----------------------
InspectorCommentAttribute()
-----------------------
*/
public class InspectorCommentAttribute : PropertyAttribute {
public readonly string message;
public InspectorCommentAttribute( string message = "" ) {
this.message = message;
}
}