unity-atoms/Assets/UnityAtoms/MonoHooks/OnTriggerEnter2DHook.cs

12 lines
214 B
C#
Raw Normal View History

2018-10-30 20:05:06 +01:00
using UnityEngine;
namespace UnityAtoms
{
public class OnTriggerEnter2DHook : Collider2DHook
{
private void OnTriggerEnter2D(Collider2D other)
{
OnHook(other);
}
}
}