private void Modifier() { ActionWindow.Init(_actorEditor, this, false, (a) => { if (a.ActState == ActionState.Inherit) { a.ActState = ActionState.Override; } OnCfgChange(); }); }
private void CreateSkillAction() { var action = new ModelActionEditor(this, new SkillAction(), true); action.ActState = ModelActionEditor.ActionState.New; ActionWindow.Init(this, action, true, (act) => { SkillActions.Add(act); OnCfgChange(); }); }