📅  最后修改于: 2022-03-11 14:48:47.311000             🧑  作者: Mango
代码示例4
int x = Random.Range(0, 5);
switch(x){
case 0:
//preform action if x=0
break;
case 1:
//preform action if x=1
break;
//CONTINUE DOWN
}