public SceneEntityDrawer(string name) : base() { _buttonContainer = new ButtonContainer(name, true); _column1 = GUILayout.Width(128); _channel = EditorPreferenceHandler.GetChannel(this, name); _enableEditing = _channel.GetBool("edit"); }
public SceneHistoryDrawer() : base() { _history = new SceneHistory(); _history.Load(); _channel = EditorPreferenceHandler.GetChannel(this, CLASS_NAME); _restoreOnStop = _channel.GetBool(RESTORE_VAR); _textCol1 = GUILayout.Width(100); }
/// <summary> /// Gets the default value. /// </summary> /// <returns><c>true</c>, if default value was gotten, <c>false</c> otherwise.</returns> /// <param name="name">Name.</param> private bool GetDefaultValue(string name) { if (_saveInPreferences) { return(_channel.GetBool(name)); } return(true); }
public SceneHistoryDrawer() : base() { _history = new SceneHistory (); _history.Load (); _channel = EditorPreferenceHandler.GetChannel (this, CLASS_NAME); _restoreOnStop = _channel.GetBool (RESTORE_VAR); _textCol1 = GUILayout.Width (100); }