編輯

共用方式為


InputMappingAxisUtility Class

Definition

Utility class for Unity's Input Manager mappings.

public ref class InputMappingAxisUtility abstract sealed
public static class InputMappingAxisUtility
type InputMappingAxisUtility = class
Public Class InputMappingAxisUtility
Inheritance
InputMappingAxisUtility

Methods

CheckUnityInputManagerMappings(InputManagerAxis[], Boolean)

Simple static function to check Unity InputManager Axis configuration, and apply if needed.

DoesAxisNameExist(String)

Checks our local cache of axis names to see if an axis exists. This cache is refreshed if it's empty or if InputManager.asset has been changed.

RemoveMappings(InputManagerAxis[])

Simple static function to apply Unity InputManager Axis configuration

Applies to