暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ITrimItemMode.cs 497B

1234567891011121314151617181920212223
  1. using UnityEngine;
  2. namespace UnityEditor.Timeline
  3. {
  4. enum TrimEdge
  5. {
  6. Start,
  7. End
  8. }
  9. interface ITrimItemMode
  10. {
  11. void OnBeforeTrim(ITrimmable item, TrimEdge trimDirection);
  12. void TrimStart(ITrimmable item, double time, bool affectTimeScale);
  13. void TrimEnd(ITrimmable item, double time, bool affectTimeScale);
  14. }
  15. interface ITrimItemDrawer
  16. {
  17. void DrawGUI(WindowState state, Rect bounds, Color color, TrimEdge edge);
  18. }
  19. }