Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. // NOTE DONT put in an editor folder!
  2. using UnityEngine;
  3.  
  4. public enum AutohookSearchArea {
  5. Self,
  6. Parent,
  7. Children
  8. }
  9.  
  10. public class AutohookAttribute : PropertyAttribute
  11. {
  12. public AutohookSearchArea SearchArea { get; private set; }
  13.  
  14. public AutohookAttribute(AutohookSearchArea searchArea = AutohookSearchArea.Self) {
  15. SearchArea = searchArea;
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement