單項(xiàng)選擇題this.transform.rotation=Quaternion.()(0,30,0);使游戲?qū)ο笱卣遹軸旋轉(zhuǎn)30度。
A.Euler
B.LookRotation
C.Lerp
D.Update
您可能感興趣的試卷
你可能感興趣的試題
1.單項(xiàng)選擇題Vector3 relativePos=target.position-transform.position;transform.rotation=Quaternion.()(relativePos);以上代碼使游戲?qū)ο蟪蚰繕?biāo)點(diǎn)。
A.Euler
B.LookRotation
C.Lerp
D.Update
2.單項(xiàng)選擇題public class ExampleClass:MonoBehaviour{public Transform from;public Transformto;public float speed=0.1F;void Update(){transform.rotation=Quaternion.()(from.rotation,to.rotation,Time.time*speed);}}以上代碼使游戲?qū)ο髲拈_始旋轉(zhuǎn),緩慢的轉(zhuǎn)動(dòng)直到旋轉(zhuǎn)達(dá)到目標(biāo)旋轉(zhuǎn)值。
A.Euler
B.LookRotation
C.Lerp
D.Update

最新試題
在Image組件上設(shè)置Color,可以把顏色疊加到圖片上。
題型:判斷題
首次打開Build Setting對(duì)話框時(shí),場(chǎng)景列表為空白狀態(tài),未添加到列表內(nèi)的場(chǎng)景可以通過(guò)代碼動(dòng)態(tài)加載。
題型:判斷題
Mechanim動(dòng)畫系統(tǒng)既可以勝任交互式動(dòng)畫的制作,也可以實(shí)現(xiàn)傳統(tǒng)的2D動(dòng)畫制作。
題型:判斷題
()是Unity 3D自帶的自動(dòng)尋路組件。
題型:?jiǎn)雾?xiàng)選擇題
()才是混音操作的實(shí)際執(zhí)行者。
題型:?jiǎn)雾?xiàng)選擇題