Ejemplo n.º 1
0
 private void Modifier()
 {
     ActionWindow.Init(_actorEditor, this, false, (a) =>
     {
         if (a.ActState == ActionState.Inherit)
         {
             a.ActState = ActionState.Override;
         }
         OnCfgChange();
     });
 }
Ejemplo n.º 2
0
        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();
            });
        }