Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetAxis(string)

Returns the axis value as a continous float.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ClusterInputModule
Warning
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.