using Blue; public struct EditorSettingCommand : ICommand { private bool editor; public EditorSettingCommand(bool editor) { this.editor = editor; } public void OnExcute() { this.SendEvent(new EditorSettingEvent(){ editor = this.editor }); } }