Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // NOTE DONT put in an editor folder!
- using UnityEngine;
- public enum AutohookSearchArea {
- Self,
- Parent,
- Children
- }
- public class AutohookAttribute : PropertyAttribute
- {
- public AutohookSearchArea SearchArea { get; private set; }
- public AutohookAttribute(AutohookSearchArea searchArea = AutohookSearchArea.Self) {
- SearchArea = searchArea;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement