為什么我的在 GetComponent<Rigidbody>()時報錯了?There is no 'Rigidbody' attached to the "Player" game object
MissingComponentException: There is no 'Rigidbody' attached to the "Player"
MissingComponentException: There is no 'Rigidbody' attached to the "Player"
2018-11-04
舉報
2018-12-02
給物體添加組件,rigidbody是一個physics下的組件
2018-11-15
我還是不知道怎么弄,越看越懵,跳了太多步驟。
2018-11-12
可以照著老師的改一下用代碼控制運(yùn)動,或者給player加一個compoment為rigidbody