17 lines
371 B
C#
17 lines
371 B
C#
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;
|
|
}
|
|
}
|
|
} |