A game about forced loneliness, made by TACStudios
at master 42 lines 1.2 kB view raw
1namespace UnityEditor.Timeline 2{ 3 class TimelineActiveMode : TimelineMode 4 { 5 public TimelineActiveMode() 6 { 7 headerState = new HeaderState 8 { 9 breadCrumb = TimelineModeGUIState.Enabled, 10 options = TimelineModeGUIState.Enabled, 11 sequenceSelector = TimelineModeGUIState.Enabled 12 }; 13 14 trackOptionsState = new TrackOptionsState 15 { 16 newButton = TimelineModeGUIState.Enabled, 17 editAsAssetButton = TimelineModeGUIState.Hidden 18 }; 19 mode = TimelineModes.Active; 20 } 21 22 public override bool ShouldShowTimeCursor(WindowState state) 23 { 24 return true; 25 } 26 27 public override bool ShouldShowPlayRange(WindowState state) 28 { 29 return state.playRangeEnabled; 30 } 31 32 public override TimelineModeGUIState ToolbarState(WindowState state) 33 { 34 return TimelineModeGUIState.Enabled; 35 } 36 37 public override TimelineModeGUIState TrackState(WindowState state) 38 { 39 return TimelineModeGUIState.Enabled; 40 } 41 } 42}