18 lines
418 B
C#
Raw Normal View History

2020-03-02 02:26:06 +01:00
using UnityEngine;
2019-10-16 01:43:51 +02:00
2020-03-02 02:26:06 +01:00
namespace UnityAtoms.MonoHooks
{
/// <summary>
/// Mono Hook for [`Start`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.Start.html)
/// </summary>
[EditorIcon("atom-icon-delicate")]
[AddComponentMenu("Unity Atoms/Hooks/On Start Hook")]
public sealed class OnStartHook : VoidHook
{
private void Start()
{
OnHook();
}
}
}