Assignment for RMIT Mixed Reality in 2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
626 B

  1. using UnityEngine;
  2. /*
  3. -----------------------
  4. InspectorNoteAttribute()
  5. -----------------------
  6. */
  7. public class InspectorNoteAttribute : PropertyAttribute
  8. {
  9. public readonly string header;
  10. public readonly string message;
  11. public InspectorNoteAttribute(string header, string message = "")
  12. {
  13. this.header = header;
  14. this.message = message;
  15. }
  16. }
  17. /*
  18. -----------------------
  19. InspectorCommentAttribute()
  20. -----------------------
  21. */
  22. public class InspectorCommentAttribute : PropertyAttribute {
  23. public readonly string message;
  24. public InspectorCommentAttribute( string message = "" ) {
  25. this.message = message;
  26. }
  27. }