ControllerMap.GetAction
Declaration#
public InputMap GetAction(string actionName)Parameters#
| Name | Description |
|---|---|
| actionName | Name of the action to retrieve |
Description#
Gets an input map associated with an action
Usage#
Example
using NullSave.GDTK;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(ControllerMap target, string actionPath) { InputMap map = target.GetAction(actionPath); }
}