Geen omschrijving
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.

HorizontalScope.cs 418B

1234567891011121314151617181920
  1. using System;
  2. using UnityEngine;
  3. namespace UnityEditor.Timeline
  4. {
  5. readonly struct HorizontalScope : IDisposable
  6. {
  7. public readonly Rect rect;
  8. public HorizontalScope(GUIContent content, GUIStyle style)
  9. {
  10. rect = EditorGUILayout.BeginHorizontal(content, style);
  11. }
  12. public void Dispose()
  13. {
  14. EditorGUILayout.EndHorizontal();
  15. }
  16. }
  17. }