CLIPA/IllusionInjector/Bootstrapper.cs

23 lines
389 B
C#
Raw Normal View History

2016-12-14 21:45:50 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace IllusionInjector
{
class Bootstrapper : MonoBehaviour
{
public event Action Destroyed = delegate {};
2016-12-15 22:09:51 +00:00
void Start()
{
Destroy(gameObject);
}
2016-12-14 21:45:50 +00:00
void OnDestroy()
{
Destroyed();
}
}
}