ドキュメント

Unity Engine

Unity Engine

GetMouseButtonUp(int)

Interface to Input.GetMouseButtonUp. Can be overridden to provide custom input instead of using the Input class.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

注意
Deprecated. EventSystem no longer supports input override for legacy input. Install Input System package for full input binding functionality.
public virtual bool GetMouseButtonUp(int button)

Parameters

button

The button id. Values are 0 for left button, 1 for right button, 2 for the middle button.

Returns

Type

Description

boolReturns true during the frame the user releases the given mouse button.