You need to add the templated argument in your case. boxObj.GetComponent<Rigidbody>().AddForce(Vector3.up * jumpForce);.
確定! 回上一頁