Input.GetMouseButtonDown
鼠标按下的那一帧返回 true
定义
public static bool GetMouseButtonDown(int button);
| 参数名 | 类型 | 必要 | 说明 |
|---|---|---|---|
| button | int | 是 | 按键对应数字0:鼠标左键1:鼠标右键2:鼠标中键 |
鼠标按下的那一帧返回 true
public static bool GetMouseButtonDown(int button);
| 参数名 | 类型 | 必要 | 说明 |
|---|---|---|---|
| button | int | 是 | 按键对应数字0:鼠标左键1:鼠标右键2:鼠标中键 |