Compare commits
No commits in common. "a8acea415108c88d6b98a6866441e8e811405a0f" and "3ccaea0434d03cc29f53053d7d8df8cc550a8b63" have entirely different histories.
a8acea4151
...
3ccaea0434
|
@ -6,12 +6,10 @@ namespace Syntriax.Modules.Trigger
|
||||||
{
|
{
|
||||||
public abstract class ColliderTriggerAreaBase : MonoBehaviour, IColliderTriggerArea
|
public abstract class ColliderTriggerAreaBase : MonoBehaviour, IColliderTriggerArea
|
||||||
{
|
{
|
||||||
[SerializeField] private LayerMask colliderMask = ~0;
|
|
||||||
|
|
||||||
protected Collider2D[] nonAllocResults = new Collider2D[32];
|
protected Collider2D[] nonAllocResults = new Collider2D[32];
|
||||||
protected int previousTriggerCount = 0;
|
protected int previousTriggerCount = 0;
|
||||||
|
|
||||||
public LayerMask ColliderMask { get => colliderMask; set => colliderMask = value; }
|
public LayerMask ColliderMask { get; set; } = ~0;
|
||||||
public Action<List<Collider2D>> OnTriggeredCollidersUpdated { get; set; } = null;
|
public Action<List<Collider2D>> OnTriggeredCollidersUpdated { get; set; } = null;
|
||||||
public List<Collider2D> ColliderList { get; protected set; } = new List<Collider2D>(32);
|
public List<Collider2D> ColliderList { get; protected set; } = new List<Collider2D>(32);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue