Click or drag to resize

StagetouchScreen Property

如果是true,表示触摸输入,将使用Input.GetTouch接口读取触摸屏输入。 如果是false,表示使用鼠标输入,将使用Input.GetMouseButtonXXX接口读取鼠标输入。 一般来说,不需要设置,底层会自动根据系统环境设置正确的值。

Namespace:  FairyGUI
Assembly:  FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static bool touchScreen { get; set; }

Property Value

Type: Boolean
See Also