public void onEnabled() { GameObject go = new GameObject(Name); __instance = go.AddComponent<TwitchIntegration>(); }
public void onDisabled() { if (__instance != null) { UnityEngine.Object.Destroy(__instance.gameObject); __instance = null; } }