GCControllerButtonValueChanged 委托

定义

可以传递给 SetPressedChangedHandler(GCControllerButtonValueChanged) 方法以响应对按钮状态的更改的处理程序。

public delegate void GCControllerButtonValueChanged(GCControllerButtonInput button, float buttonValue, bool pressed);
type GCControllerButtonValueChanged = delegate of GCControllerButtonInput * single * bool -> unit

参数

buttonValue
Single
pressed
Boolean

适用于