ManipulatorsUtils.cs 461 B

12345678910111213141516171819
  1. using UnityEngine;
  2. namespace UnityEditor.Timeline
  3. {
  4. static class ManipulatorsUtils
  5. {
  6. public static EventModifiers actionModifier
  7. {
  8. get
  9. {
  10. if (Application.platform == RuntimePlatform.OSXEditor ||
  11. Application.platform == RuntimePlatform.OSXPlayer)
  12. return EventModifiers.Command;
  13. return EventModifiers.Control;
  14. }
  15. }
  16. }
  17. }