unity-atoms/Packages/MonoHooks/Runtime/Hooks/OnLateUpdateHook.cs

18 lines
449 B
C#
Raw Normal View History

2019-10-15 19:43:51 -04:00
using UnityEngine;
namespace UnityAtoms.MonoHooks
{
/// <summary>
/// Mono Hook for [`LateUpdate`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.LateUpdate.html)
/// </summary>
[EditorIcon("atom-icon-delicate")]
[AddComponentMenu("Unity Atoms/Hooks/On Late Update")]
public sealed class OnLateUpdateHook : VoidHook
{
private void LateUpdate()
{
OnHook(new Void());
}
}
}