コード例 #1
0
 void SetAction()
 {
     target.SetAction(action);
     controller.SetItem(invItemNum);
     ui.HideInventoryPanel();
     ui.DisableMainButtons();
     ui.EnableTargetButtons();
 }
コード例 #2
0
 void SetAction()
 {
     target.SetAction(action);
     controller.SetAbility(abilityNum);
     ui.HideAbilityPanel();
     ui.DisableMainButtons();
     ui.EnableTargetButtons();
 }
コード例 #3
0
    void SetAction()
    {
        target.SetAction(action);
        switch (action)
        {
        case Action.Attack:
            ui.DisableMainButtons();
            ui.EnableTargetButtons();
            break;

        case Action.Defend:
            target.SetTarget(flow.currentUnit);
            break;

        default:
            break;
        }
    }