單項(xiàng)選擇題

float step=speed*Time.deltaTime;transform.rotation=Quaternion.RotateTowards(transform.rotation,target.rotation,step);根據(jù)以上代碼,請(qǐng)說(shuō)明以上代碼需要放到()函數(shù)中,才可以得到正確執(zhí)行。

A.Euler
B.LookRotation
C.Lerp
D.Update

微信掃碼免費(fèi)搜題