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.

19 lines
419 B

  1. #if UNITY_EDITOR
  2. using UnityEngine;
  3. using System.Collections;
  4. namespace ProGrids
  5. {
  6. /**
  7. * Assign this script to a GameObject to tell ProGrids to ignore snapping on this object.
  8. * Child objects are still subject to snapping.
  9. *
  10. * Note - On Unity versions less than 5.2 this will not take effect until after a script
  11. * reload.
  12. */
  13. [ProGridsNoSnap]
  14. public class pg_IgnoreSnap : MonoBehaviour {}
  15. }
  16. #endif