public override void OnModLoaded()
        {
            GameObject obj = ModAssets.Instantiate <GameObject>("RequestButton_pre");

            TwitchBot.userText = ModAssets.Instantiate <GameObject>("UserText");
            log("TwitchColorMod loaded");
        }
Exemplo n.º 2
0
        public override void OnModLoaded()
        {
            var playlistButton = ModAssets.Instantiate <GameObject>("PlaylistButton_pre");

            PlaylistButton.ReloadPlaylists();
            log("PlaylistMod loaded");
        }
Exemplo n.º 3
0
 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");
     }
 }
Exemplo n.º 4
0
 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);
     }
 }
Exemplo n.º 5
0
 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;
     }
 }
Exemplo n.º 6
0
 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;
     }
 }
Exemplo n.º 7
0
    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;
        }
    }
Exemplo n.º 8
0
 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");
 }
Exemplo n.º 10
0
 public override void OnModLoaded()
 {
     // Spawn the sphere
     sphere = ModAssets.Instantiate <GameObject>("Sphere");
     sphere.transform.localScale = new Vector3(scale, scale, scale);
 }
Exemplo n.º 11
0
 public override void OnModLoaded()
 {
     Debug.Log("SynthEssentials Mod Loaded");
     essentialsWrap      = ModAssets.Instantiate <GameObject>(PREFAB_NAME);
     essentialsWrap.name = PREFAB_NAME;
 }
Exemplo n.º 12
0
 public override void OnModLoaded()
 {
     GameObject obj = ModAssets.Instantiate <GameObject>("RandomButton_pre");
 }
Exemplo n.º 13
0
        public override void OnModLoaded()
        {
            var canvasWrapper = ModAssets.Instantiate <GameObject>("CanvasWrap");

            CanvasWrap.HideMe();
        }
Exemplo n.º 14
0
 public override void OnModLoaded()
 {
     Debug.Log("ComingSoon Mod Loaded");
     trailersWrap      = ModAssets.Instantiate <GameObject>(PREFAB_NAME);
     trailersWrap.name = PREFAB_NAME;
 }