DirectRetrieveAttribute.cs 619 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Reflection;
  3. #if UNITY_5_3_OR_NEWER && !NO_UNITY
  4. using UnityEngine.Scripting;
  5. #endif
  6. namespace com.bbbirder
  7. {
  8. #if UNITY_5_3_OR_NEWER && !NO_UNITY
  9. [Preserve]
  10. #endif
  11. public partial class DirectRetrieveAttribute : Attribute
  12. {
  13. /// <summary>
  14. /// the member marked with this attribute, if exists.
  15. /// </summary>
  16. /// <value></value>
  17. public MemberInfo targetInfo { get; internal set; }
  18. /// <summary>
  19. /// on receive target type and member
  20. /// </summary>
  21. public virtual void OnReceiveTarget(){
  22. }
  23. }
  24. }