InputManager.GetVector2D
Declaration#
public virtual Vector2 GetVector2D(string vectorName)Parameters#
| Name | Description |
|---|---|
| vectorName | Name of vector to read |
Description#
Returns returns a 2D input vector
Usage#
Example
InterfaceManager.Input.GetVector2D("Horizontal");Declaration#
public virtual Vector2 GetVector2D(string vectorName, Int32 playerId)Parameters#
| Name | Description |
|---|---|
| vectorName | Name of vector to read |
| playerId | Id of player to check |
Description#
Returns returns a 2D input vector
Usage#
Example
InterfaceManager.Input.GetVector2D("Horizontal", 1);