private void OnDebugKeyConfig() { var menus = MyEnum.GetNames <App.OperationMethod>(); using (new GUILayout.HorizontalScope()) { GUILayout.Label("KeyConfig"); __SelectedKeyConfigIndex = GUILayout.SelectionGrid(__SelectedKeyConfigIndex, menus, menus.Length); } App.OperationMethod type = MyEnum.Parse <App.OperationMethod>(menus[__SelectedKeyConfigIndex]); this.keyConfigs[type].OnDebug(); }
/// <summary> /// KeyConfigを取得 /// </summary> public KeyConfig GetKeyConfig(App.OperationMethod type) { return(this.keyConfigs[type]); }