public override void OnModLoaded() { GameObject obj = ModAssets.Instantiate <GameObject>("RequestButton_pre"); TwitchBot.userText = ModAssets.Instantiate <GameObject>("UserText"); log("TwitchColorMod loaded"); }
public override void OnModLoaded() { var playlistButton = ModAssets.Instantiate <GameObject>("PlaylistButton_pre"); PlaylistButton.ReloadPlaylists(); log("PlaylistMod loaded"); }
private void SceneManager_sceneLoaded(Scene arg0, LoadSceneMode arg1) { if (arg0.name.Contains("Stage")) { object_left = ModAssets.Instantiate <GameObject>("BananaL_pre"); object_right = ModAssets.Instantiate <GameObject>("BananaR_pre"); } }
private void SceneManager_sceneLoaded(Scene arg0, LoadSceneMode arg1) { if (arg0.name.Contains("Stage")) { object_left = ModAssets.Instantiate <GameObject>("BoxL_pre"); object_left.transform.localScale = new Vector3(0.09f, 0.09f, 0.09f); object_right = ModAssets.Instantiate <GameObject>("BoxR_pre"); object_right.transform.localScale = new Vector3(0.09f, 0.09f, 0.09f); } }
private void SceneManager_sceneLoaded(Scene arg0, LoadSceneMode arg1) { if (arg0.name.Contains("Stage")) { egg = ModAssets.Instantiate <GameObject>("Easter_pre"); } else { EggScript.DestroyEggScript(); UnityEngine.Object.Destroy(egg); egg = null; } }
private void SceneManager_sceneLoaded(Scene arg0, LoadSceneMode arg1) { if (arg0.name.Contains("Stage")) { battery = ModAssets.Instantiate <GameObject>("battery_pre"); BatteryBar.bar = ModAssets.Instantiate <GameObject>("bar_pre"); } else { BatteryBar.GameOverCallback = null; BatteryBar.DestroyBatteryBar(); UnityEngine.Object.Destroy(battery); battery = null; } }
private void SceneManager_sceneLoaded(Scene arg0, LoadSceneMode arg1) { if (arg0.name.Contains("Stage")) { pumpkin = ModAssets.Instantiate <GameObject>("Pumpkin_pre"); object_left = ModAssets.Instantiate <GameObject>("Cube_pre"); object_right = ModAssets.Instantiate <GameObject>("Cube_pre"); } else { PumpkinScript.DestroyPumpkinScript(); UnityEngine.Object.Destroy(pumpkin); pumpkin = null; } }
public override void OnModLoaded() { var deleteButton = ModAssets.Instantiate<GameObject>("DeleteButton_pre"); log("DeleteMod loaded"); }
public override void OnModLoaded() { Debug.Log("Mod Loaded"); GameObject eventViewer = ModAssets.Instantiate <GameObject>("ModEventViewer"); }
public override void OnModLoaded() { // Spawn the sphere sphere = ModAssets.Instantiate <GameObject>("Sphere"); sphere.transform.localScale = new Vector3(scale, scale, scale); }
public override void OnModLoaded() { Debug.Log("SynthEssentials Mod Loaded"); essentialsWrap = ModAssets.Instantiate <GameObject>(PREFAB_NAME); essentialsWrap.name = PREFAB_NAME; }
public override void OnModLoaded() { GameObject obj = ModAssets.Instantiate <GameObject>("RandomButton_pre"); }
public override void OnModLoaded() { var canvasWrapper = ModAssets.Instantiate <GameObject>("CanvasWrap"); CanvasWrap.HideMe(); }
public override void OnModLoaded() { Debug.Log("ComingSoon Mod Loaded"); trailersWrap = ModAssets.Instantiate <GameObject>(PREFAB_NAME); trailersWrap.name = PREFAB_NAME; }