Unity中如何找到鼠标位置?我正在使用新的输入系统并且我已经尝试过
InputDevice mouse = Mouse.current; Ray ray = camera.ScreenPointToRay(mouse.position);
,但没有成功。任何人?
c# unity-game-engine
c# ×1
unity-game-engine ×1