unity-atoms/Source/MonoHooks/OnDestroyHook.cs

12 lines
197 B
C#
Raw Normal View History

2018-10-30 15:05:06 -04:00
using UnityEngine;
namespace UnityAtoms
{
public class OnDestroyHook : VoidHook
{
private void OnDestroy()
{
OnHook(new Void());
}
}
}