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

        source.GetAttacked(data);
    }