コード例 #1
0
    IEnumerator WalkDice()
    {
        yield return(new WaitForSeconds(Random.Range(2.0f, 4.0f)));

        m_walkDestination = Random.Range(Boundaries.InnerLeft(), Boundaries.InnerRight());
        m_isWalking       = true;
        m_animator.Play("SubjectWalk");
        Debug.Log(gameObject.name + " WalkDice");
    }