Unity 台灣論壇• 檢視主題- 滑鼠點擊object cube 頂部去create object ... 滑鼠點擊object cube 頂部去create object ball 來移動, 再放開滑鼠點擊放開object ball.. collison with object stick..? 下面lee個script 會放開object ...
Unity - Scripting API: Input.GetMouseButtonDown You need to call this function from the Update function, since the state gets reset each frame. It will not return true until the user has released the mouse button ...