Files
2026-02-21 16:45:37 +08:00

25 lines
377 B
C#

using SRF;
using UnityEngine;
namespace SRDebugger
{
[AddComponentMenu("SRDebugger Init")]
public class SRDebuggerInit : SRMonoBehaviourEx
{
protected override void Awake()
{
base.Awake();
if (Settings.Instance.IsEnabled)
{
SRDebug.Init();
}
}
protected override void Start()
{
base.Start();
Object.Destroy(base.CachedGameObject);
}
}
}