中文
Appearance
Input.GetMouseButtonUp(button)
Input
检测指定的鼠标按键在当前帧的松开事件中是否松开。
MouseButton
boolean
OnUpdate(): void { let result = Input.GetMouseButtonUp(MouseButton.LeftButton); if (result) { Debug.Log("····鼠标左键被松开····"); } }