BlueGit

blue-star ggj-2020

Files

ggj-2020 / Assets / Oculus / AudioManager / Scripts / Utils / InspectorNoteAttribute.cs

InspectorNoteAttribute.cs

Project Import
timfa Tim Falken · pushed by timfa · 6 years ago
b77834a1 History
InspectorNoteAttribute.cs 626 B Download Raw
1using UnityEngine;
2
3/*
4-----------------------
5
6 InspectorNoteAttribute()
7
8-----------------------
9*/
10public class InspectorNoteAttribute : PropertyAttribute
11{
12 public readonly string header;
13 public readonly string message;
14
15 public InspectorNoteAttribute(string header, string message = "")
16 {
17 this.header = header;
18 this.message = message;
19 }
20}
21
22/*
23-----------------------
24
25 InspectorCommentAttribute()
26
27-----------------------
28*/
29public class InspectorCommentAttribute : PropertyAttribute {
30 public readonly string message;
31
32 public InspectorCommentAttribute( string message = "" ) {
33 this.message = message;
34 }
35}