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