Esempio n. 1
0
    public void CreateResult()
    {
        result = ((GameObject)Instantiate(result)).GetComponent <GameObject>();
        //StartCoroutine(ssm.ConnectUpdateStagePHP(next_scene));
        //StartCoroutine(StageServerManager.GetInst().ConnectUpdateStagePHP(next_scene));
        //Debug.Log("result : " + (next_scene-5));

        //FIleManager.Getinst().SaveStageData(next_scene);
        SoundManager.GetInst().PlayVictory();
        Debug.Log("CreateResult : " + next_scene);
        if ((StaticData.userStage + 5 <= next_scene) || (4 == StaticData.userStage))
        {
            StartCoroutine(StageServerManager.ConnectUpdateStagePHP(next_scene));
        }
    }
Esempio n. 2
0
 void Start()
 {
     StartCoroutine(StageServerManager.ConnectSearchStagePHP(StaticData.userStage));
     Debug.Log(StaticData.userStage);
 }