using UnityEngine; namespace DefaultNamespace.Solid { public class RectangleAreaOfEffect : AreaOfEffect { [SerializeField] private float _width; [SerializeField] private float _height; protected override bool IsInsideOfEffectArea(Collision other) { // do some calculations return false; } } }