Ejemplo n.º 1
0
    //-------------------------------------------
    // ダイスを投げる
    //-------------------------------------------
    private IEnumerator DiceThrow_()
    {
        // ダイスを出現
        yield return(StartCoroutine(mDiceCountroller.DiceRota(20)));

        // ダイスの目が止ったか
        yield return(new WaitUntil(mDiceCountroller.IsStoping));

        // ダイスの目を取得
        mDiceValue = Dice.GetComponent <Die_d6>().value;
        Debug.Log(mDiceValue);
    }