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