using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Attack : MonoBehaviour
{
    [Header("»ù±¾ÊôÐÔ")]
    public int damage;
    public float attackRange;
    public float attackRate;//¹¥»÷ÆµÂÊ

    private void OnTriggerStay2D(Collider2D collision)
    {
        collision.GetComponent<Character>()?.TakeDamage(this);
    }
}
