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.

23 lines
652 B

  1. using UnityEngine;
  2. using System;
  3. namespace ProGrids
  4. {
  5. /**
  6. * ProGridsNoSnapAttribute tells ProGrids to skip snapping on this object.
  7. * Note - On Unity versions less than 5.2 this will not take effect until after a script
  8. * reload.
  9. */
  10. [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
  11. public class ProGridsNoSnapAttribute : Attribute
  12. {
  13. }
  14. /**
  15. * ProGridsConditionalSnapAttribute tells ProGrids to check `bool IsSnapEnabled()` function on this object.
  16. */
  17. [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
  18. public class ProGridsConditionalSnapAttribute : Attribute
  19. {
  20. }
  21. }