A.new WaitForSeconds(2)
B.new WaitForFixedUpdate()
C.WaitForEndOfFrame()
D.StartCoroutine(other coroutine)
Ray ray=Camera.main.()(Input.mousePosition);
RaycastHithit;
if(Physics.()(ray,outhit,100))//射線檢測
{
GameObjectmole=hit.collider.gameObject;//被擊打物體
boolisHit=mole.GetComponent()
}
補(bǔ)全空白處的代碼。