mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 00:58:59 -05:00
14 lines
275 B
C#
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);
|
|
}
|
|
}
|
|
}
|