Class: InputInfo
Beta
包含某个客户端实例的输入信息。
Contains the input information for a client instance.
Properties
lastInputModeUsed
readonlylastInputModeUsed:InputMode
Beta
Remarks
玩家最后使用的输入模式。
The last input mode used by the player.
Throws
This property can throw when used.
touchOnlyAffectsHotbar
readonlytouchOnlyAffectsHotbar:boolean
Beta
Remarks
玩家的触摸输入是否仅影响触摸栏。
Whether the player touch input only affects the touchbar or not.
Throws
This property can throw when used.
Methods
getButtonState()
getButtonState(
button):ButtonState
Beta
Parameters
button
Returns
Throws
This function can throw errors.
getMovementVector()
getMovementVector():
Vector2
Beta
Returns
Throws
This function can throw errors.
