Method SetTarget
SetTarget(string, Pole)
Change the input action this should display.
Declaration
public void SetTarget(string newActionName, Pole newPole)
Parameters
Type | Name | Description |
---|---|---|
string | newActionName | The name of the action as defined in the input manager |
Pole | newPole | The direction of input to represent. In most cases should be positive unless it represents a dual-axis input (i.e move left instead move right) |
SetTarget(int, Pole)
Change the input action this should display.
Declaration
public void SetTarget(int newActionID, Pole newPole)
Parameters
Type | Name | Description |
---|---|---|
int | newActionID | The id of the action as defined in the input manager |
Pole | newPole | The direction of input to represent. In most cases should be positive unless it represents a dual-axis input (i.e move left instead move right) |