mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 17:17:47 -05:00
12 lines
197 B
C#
12 lines
197 B
C#
|
using UnityEngine;
|
|||
|
|
|||
|
namespace UnityAtoms
|
|||
|
{
|
|||
|
public class OnDestroyHook : VoidHook
|
|||
|
{
|
|||
|
private void OnDestroy()
|
|||
|
{
|
|||
|
OnHook(new Void());
|
|||
|
}
|
|||
|
}
|
|||
|
}
|