文档

Unity Engine

Unity Engine

SetButton(string, bool)

Sets the button value for this input. Only works for input typed Custom.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ClusterInputModule
警告
Deprecated. This type is deprecated and will be removed in a future release.
public static void SetButton(string name, bool value)

Parameters

name

Name of input to modify.

value

Value to set.