コード例 #1
0
    //// Update is called once per frame
    //void Update () {


    //}

    void OnDamegedObject(BattleObject Attacker, BattleObject Diffender, int BulletAtk, Buff_HPSP buff1, Buff_Others buff2)
    {
        //Debug.Log("痛い!");
        //DamageCalculate dam = new DamageCalculate(Attacker, BulletAtk, buff1, buff2);
        dam.NewCalculateFunc(Attacker, BulletAtk, buff1, buff2);
        Diffender.ReceiveAttack(dam);

        // 通知受け取り解除
        //Eventbus.Instance.Unsubscribe((Eventbus.OnDamegedObj)OnDamegedObject);
    }