protected override void Decide()
    {
        int number = ((NumberLine * NowNumberColumn)) + (NowNumberLine + 1);

        if (number == 8)
        {
            number = UnityEngine.Random.Range(1, 7);
        }


        TManager_cs.Stage_name_Data = "stage" + number.ToString();

        TManager_cs.ChangePage(TitleManager.SELECTMODE.CHARACTERSELECT);
    }
Exemplo n.º 2
0
    protected override void Decide()
    {
        //選択した番号を取得
        int number = ((NumberLine * NowNumberColumn)) + (NowNumberLine + 1);

        //顔のテクスチャーを取得
        Sprite face = Resources.Load <Sprite>("textures/use/Player/Player" + number.ToString());

        //マネージャーに登録
        TManager_cs.SetPlayerFace(CNConvert(controllerNumber), face);

        //カーソルを薄くする
        Material cursor_mate = this.transform.GetComponent <Renderer>().material;

        cursor_mate.SetColor("_Color", new Color(cursor_mate.color.r, cursor_mate.color.g, cursor_mate.color.b, 0.5f));
        selectFace = true;
    }
    protected override void Decide()
    {
        TManager_cs.PlayerNum_Data = (NowNumberColumn + 1) * (NowNumberLine + 2);

        TManager_cs.ChangePage(TitleManager.SELECTMODE.STAGESELECT);
    }