예제 #1
0
    private void RaiseRandomBop(Bop exceptForThisOne = null)
    {
        Bop randomBop = bops[UnityEngine.Random.Range(0, bops.Length)];

        while (randomBop == exceptForThisOne)
        {
            randomBop = bops[UnityEngine.Random.Range(0, bops.Length)];
        }

        randomBop.Raise();
    }