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