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

14 lines
286 B
C#

using UnityEngine;
namespace UnityAtoms
{
[AddComponentMenu("Unity Atoms/Hooks/On Trigger Enter 2D")]
public sealed class OnTriggerEnter2DHook : Collider2DHook
{
private void OnTriggerEnter2D(Collider2D other)
{
OnHook(other);
}
}
}