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.

41 lines
1.6 KiB

  1. #define PRO
  2. using UnityEngine;
  3. using System.Collections;
  4. namespace ProGrids
  5. {
  6. public static class pg_Constant
  7. {
  8. public const string ProGridsIsEnabled = "pgProGridsIsEnabled";
  9. public const string ProGridsIsExtended = "pgProGridsIsExtended";
  10. public const string ProGridsUpgradeURL = "http://u3d.as/content/six-by-seven-studio/pro-grids/3ov";
  11. public const string SnapValue = "pgSnapValue";
  12. public const string SnapMultiplier = "pgSnapMultiplier";
  13. public const string SnapEnabled = "pgSnapEnabled";
  14. public const string UseAxisConstraints = "pgUseAxisConstraints";
  15. public const string LastOrthoToggledRotation = "pgLastOrthoToggledRotation";
  16. public const string BracketIncreaseValue = "pgBracketIncreaseValue";
  17. public const string GridUnit = "pg_GridUnit";
  18. public const string LockGrid = "pg_LockGrid";
  19. public const string LockedGridPivot = "pg_LockedGridPivot";
  20. public const string PGVersion = "pg_Version";
  21. public const string GridAxis = "pg_GridAxis";
  22. public const string PerspGrid = "pg_PerspGrid";
  23. public const string SnapScale = "pg_SnapOnScale";
  24. public const string PredictiveGrid = "pg_PredictiveGrid";
  25. public const string SnapAsGroup = "pg_SnapAsGroup";
  26. public const string MajorLineIncrement = "pg_MajorLineIncrement";
  27. public const string SyncUnitySnap = "pg_SyncUnitySnap";
  28. public const float METER = 1f;
  29. #if PRO
  30. public const float CENTIMETER = .01f;
  31. public const float MILLIMETER = .001f;
  32. public const float INCH = 0.0253999862840074f;
  33. public const float FOOT = 0.3048f;
  34. public const float YARD = 1.09361f;
  35. public const float PARSEC = 5f;
  36. #endif
  37. }
  38. }