| 1 | using UnityEngine; |
| 2 | |
| 3 | /* |
| 4 | ----------------------- |
| 5 | |
| 6 | InspectorNoteAttribute() |
| 7 | |
| 8 | ----------------------- |
| 9 | */ |
| 10 | public 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 | */ |
| 29 | public class InspectorCommentAttribute : PropertyAttribute { |
| 30 | public readonly string message; |
| 31 | |
| 32 | public InspectorCommentAttribute( string message = "" ) { |
| 33 | this.message = message; |
| 34 | } |
| 35 | } |