mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 00:58:59 -05:00
14 lines
283 B
C#
14 lines
283 B
C#
using UnityEngine;
|
|
|
|
namespace UnityAtoms
|
|
{
|
|
[AddComponentMenu("Unity Atoms/Hooks/On Trigger Stay 2D")]
|
|
public sealed class OnTriggerStay2DHook : Collider2DHook
|
|
{
|
|
private void OnTriggerStay2D(Collider2D other)
|
|
{
|
|
OnHook(other);
|
|
}
|
|
}
|
|
}
|