unity-atoms/Source/MonoHooks/OnTriggerStay2DHook.cs
2019-05-29 18:52:27 +02:00

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);
}
}
}