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

PropertyScope.cs 457B

1234567891011121314151617181920
  1. using System;
  2. using UnityEngine;
  3. namespace UnityEditor.Timeline
  4. {
  5. readonly struct PropertyScope : IDisposable
  6. {
  7. public readonly GUIContent content;
  8. public PropertyScope(Rect totalPosition, GUIContent label, SerializedProperty property)
  9. {
  10. content = EditorGUI.BeginProperty(totalPosition, label, property);
  11. }
  12. public void Dispose()
  13. {
  14. EditorGUI.EndProperty();
  15. }
  16. }
  17. }