11问答网
所有问题
unity c#脚本怎么添加一个按钮让立方体旋转
如题所述
举报该问题
其他回答
第1个回答 2014-03-06
if(GUI.Button(new Rect(10,10,10,10),"rotate")) {
transform.rotate(0,1,0);
}
脚本放在立方体上
相似回答
大家正在搜