共用方式為


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

適用於