using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class BlockBase : MonoBehaviour { [SerializeField] protected Image _backgroundImg; public int CurrentX { get; protected set; } public int CurrentY { get; protected set; } public virtual void SetSize(Vector2 size) { GetComponent().sizeDelta = size; } }