diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-08-20 23:40:50 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-08-20 23:40:50 -0400 |
| commit | 3af4c218c0e70167db23a6303d2af30aff37d2fe (patch) | |
| tree | 927f29edcf54ab562f40f3d1c6cb69287c7f5980 /Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackInspector.cs | |
| parent | b6daed0af784f4e9bc13329dd87c671b06ee1c65 (diff) | |
| download | Project-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.tar.gz Project-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.tar.bz2 Project-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.zip | |
Removed a bunch of stuff; Changes
Diffstat (limited to 'Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackInspector.cs')
| -rw-r--r-- | Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackInspector.cs | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackInspector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackInspector.cs deleted file mode 100644 index f391e69..0000000 --- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackInspector.cs +++ /dev/null @@ -1,43 +0,0 @@ -using UnityEngine; -using UnityEngine.Timeline; - -namespace UnityEditor.Timeline -{ - [CustomEditor(typeof(ActivationTrack))] - class ActivationTrackInspector : TrackAssetInspector - { - static class Styles - { - public static readonly GUIContent PostPlaybackStateText = EditorGUIUtility.TrTextContent("Post-playback state"); - } - - SerializedProperty m_PostPlaybackProperty; - - public override void OnInspectorGUI() - { - using (new EditorGUI.DisabledScope(IsTrackLocked())) - { - serializedObject.Update(); - - EditorGUI.BeginChangeCheck(); - - if (m_PostPlaybackProperty != null) - EditorGUILayout.PropertyField(m_PostPlaybackProperty, Styles.PostPlaybackStateText); - - if (EditorGUI.EndChangeCheck()) - { - serializedObject.ApplyModifiedProperties(); - var activationTrack = target as ActivationTrack; - if (activationTrack != null) - activationTrack.UpdateTrackMode(); - } - } - } - - public override void OnEnable() - { - base.OnEnable(); - m_PostPlaybackProperty = serializedObject.FindProperty("m_PostPlaybackState"); - } - } -} |
