mirror of
https://github.com/BepInEx/IPALoaderX.git
synced 2026-11-17 19:10:09 -10:00
20 lines
274 B
C#
20 lines
274 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace IllusionInjector
|
|
{
|
|
internal class Bootstrapper : MonoBehaviour
|
|
{
|
|
public event Action Destroyed = delegate { };
|
|
|
|
private void Start()
|
|
{
|
|
Destroy(gameObject);
|
|
}
|
|
|
|
private void OnDestroy()
|
|
{
|
|
Destroyed();
|
|
}
|
|
}
|
|
} |