mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-23 00:28:23 -05:00
23a8873462
* changed AddComponentMenu names for Listeners * renamed AddComponentMenu Listeners names in other packages * renamed AddComponentMenu for hooks * renamed double Listeners to "x 2" convention
18 lines
454 B
C#
18 lines
454 B
C#
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 Hook")]
|
|
public sealed class OnLateUpdateHook : VoidHook
|
|
{
|
|
private void LateUpdate()
|
|
{
|
|
OnHook(new Void());
|
|
}
|
|
}
|
|
}
|