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.
20 lines
457 B
20 lines
457 B
using System; |
|
using UnityEngine; |
|
|
|
namespace UnityEditor.Timeline |
|
{ |
|
readonly struct PropertyScope : IDisposable |
|
{ |
|
public readonly GUIContent content; |
|
|
|
public PropertyScope(Rect totalPosition, GUIContent label, SerializedProperty property) |
|
{ |
|
content = EditorGUI.BeginProperty(totalPosition, label, property); |
|
} |
|
|
|
public void Dispose() |
|
{ |
|
EditorGUI.EndProperty(); |
|
} |
|
} |
|
}
|
|
|