用户工具

站点工具


侧边栏

script:unityengine:classes:androidinput:androidinput

AndroidInput 安卓输入

Description 描述

AndroidInput provides support for off-screen touch input, such as a touchpad.
AndroidInput为离屏(off-screen)触摸提供输入支持,比如触摸板。

Static Variables 静态变量

secondaryTouchEnabledProperty indicating whether the system provides secondary touch input.
该属性表示系统是否提供触摸板输入
secondaryTouchHeightProperty indicating the height of the secondary touchpad.
该属性表示触摸板的高度
secondaryTouchWidthProperty indicating the width of the secondary touchpad.
该属性表示触摸板的宽度
touchCountSecondaryNumber of secondary touches. Guaranteed not to change throughout the frame. (Read Only).
触摸板的数量,保证不会在一帧内改变

Static Functions 静态函数

GetSecondaryTouchReturns object representing status of a specific touch on a secondary touchpad (Does not allocate temporary var
返回一个表示触摸板对象的状态(不分配临时变量)
script/unityengine/classes/androidinput/androidinput.txt · 最后更改: 2016/08/02 05:30 (外部编辑)