Skip to main content

Cocos2D.CCGamePadStickUpdateDelegate


Delegate CCGamePadStickUpdateDelegate

Namespace: Cocos2D
Assembly: Cocos2D.dll, cocos2d_mono.Core.Android.dll, cocos2d_mono.Core.DesktopGL.dll, cocos2d-mono.Core.iOS.dll, cocos2d_mono.Core.Linux.dll, cocos2d_mono.Core.macOS.dll, cocos2d_mono.Windows.dll, cocos2d_mono.DesktopGL.dll, cocos2d-mono.iOS.dll, cocos2d_mono.Linux.dll, cocos2d_mono.macOS.dll

each time the game pad status is queried, this method will get triggered.

public delegate void CCGamePadStickUpdateDelegate(CCGameStickStatus leftStick, CCGameStickStatus rightStick, PlayerIndex player)

Parameters

leftStick CCGameStickStatus

The status of the left stick

rightStick CCGameStickStatus

The status of the right stick

player PlayerIndex

The player to which this pertains