コード例 #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);
    }
コード例 #2
0
ファイル: StageButton.cs プロジェクト: tmdghks0612/SinPark
 //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");
 }