コード例 #1
0
        public TimelineAssetEditionMode()
        {
            headerState = new HeaderState
            {
                breadCrumb       = TimelineModeGUIState.Enabled,
                options          = TimelineModeGUIState.Enabled,
                sequenceSelector = TimelineModeGUIState.Enabled
            };

            trackOptionsState = new TrackOptionsState
            {
                newButton         = TimelineModeGUIState.Enabled,
                editAsAssetButton = TimelineModeGUIState.Enabled
            };
        }
コード例 #2
0
        public TimelineReadOnlyMode()
        {
            headerState = new HeaderState()
            {
                breadCrumb       = TimelineModeGUIState.Enabled,
                options          = TimelineModeGUIState.Enabled,
                sequenceSelector = TimelineModeGUIState.Enabled,
            };

            trackOptionsState = new TrackOptionsState()
            {
                newButton         = TimelineModeGUIState.Disabled,
                editAsAssetButton = TimelineModeGUIState.Disabled,
            };
            mode = TimelineModes.ReadOnly;
        }
コード例 #3
0
ファイル: TimelineActiveMode.cs プロジェクト: 0geova0/Jam
        public TimelineActiveMode()
        {
            headerState = new HeaderState
            {
                breadCrumb       = TimelineModeGUIState.Enabled,
                options          = TimelineModeGUIState.Enabled,
                sequenceSelector = TimelineModeGUIState.Enabled
            };

            trackOptionsState = new TrackOptionsState
            {
                newButton         = TimelineModeGUIState.Enabled,
                editAsAssetButton = TimelineModeGUIState.Hidden
            };
            mode = TimelineModes.Active;
        }