Keine Beschreibung
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

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. }