Initialer Upload neues Unity-Projekt
This commit is contained in:
@ -0,0 +1,35 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user