Ejemplo n.º 1
0
    //Save parameters stored in the button to the PublicLevel and load scene
    public override void InitLevel()
    {
        StartCoroutine(ServerControl.OpenStream(3.0f));
        PublicLevel.SetLevel(hostileType, manaAmount, manaRegenTime, creatureSpawnTime, stageLevel, false, null);

        WaitForServer(3.0f);
    }
Ejemplo n.º 2
0
 //Save parameters stored in the button to the PublicLevel and load scene
 public virtual void InitLevel()
 {
     PublicLevel.SetLevel(hostileType, manaAmount, manaRegenTime, creatureSpawnTime, stageLevel, isBoss, bossPrefab);
     LoadingSceneManager.LoadScene("DefaultIngame");
 }