コード例 #1
0
    void ChooseAction()
    {
        BattleTurn myAttack = new BattleTurn();

        myAttack.AttackerName = enemy.name;
        myAttack.Attacker     = this.gameObject;
        myAttack.Defender     = BSM.Heros[Random.Range(0, BSM.Heros.Count)];
        myAttack.Type         = "Enemy";
        BSM.GatherActions(myAttack);
    }