示例#1
0
 void EndRoll()
 {
     if (rollValue > 0)
     {
         controller.ReceiveRollValue(rollValue);
     }
     else
     {
         StopCoroutine("Roll");
         transform.rotation = Random.rotation;
         transform.position = startPoint;
         StartCoroutine("Roll");
     }
 }