Make backward compatible.

This commit is contained in:
Eusth 2016-12-15 23:09:51 +01:00
parent 9d83342084
commit 687135d55f

View file

@ -10,6 +10,10 @@ namespace IllusionInjector
{
public event Action Destroyed = delegate {};
void Start()
{
Destroy(gameObject);
}
void OnDestroy()
{
Destroyed();