LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

ClusterInput.SetAxis

public static void SetAxis(string name, float value);

Parameters

nameName of input to modify.
valueValue to set.

Description

Sets the axis value for this input. Only works for input typed Custom.