Esempio n. 1
0
    public override void OnCollideDisc(Disc source, GameObject other, Collision col)
    {
        Disc       target = other.GetComponent <Disc>();
        AttackData data   = source.Attack(target, col);

        target.GetAttacked(data);
    }
Esempio n. 2
0
    public override void OnCollideDisc(Disc source, GameObject other, Collision col)
    {
        AttackData data = other.GetComponent <Disc>().Attack(source, col);

        source.GetAttacked(data);
    }