文档

Unity Engine

Download Unity

Unity Engine

GetAxis(string)

Returns the axis value as a continous float.
阅读时间1 分钟最后更新于 2 个月前

Definition

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

Parameters

name

Name of input to poll.c.

Returns

Type

Description

float

Remarks

The range depends on configuration of VRPN server.