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

14 lines
275 B
C#

using UnityEngine;
namespace UnityAtoms
{
[AddComponentMenu("Unity Atoms/Hooks/On Trigger Enter")]
public sealed class OnTriggerEnterHook : ColliderHook
{
private void OnTriggerEnter(Collider other)
{
OnHook(other);
}
}
}