Ejemplo 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);
    }
Ejemplo n.º 2
0
    public override void OnCollideDisc(Disc source, GameObject other, Collision col)
    {
        AttackData data = other.GetComponent <Disc>().Attack(source, col);

        source.GetAttacked(data);
    }