Method ParseStringToValue
ParseStringToValue(string, out Vector2Int)
Method to implement to resolve a string value into a TValueType value.
You can use TryParse(string, out float) for floating point value types for example.
Declaration
protected override bool ParseStringToValue(string strValue, out Vector2Int val)
Parameters
| Type | Name | Description |
|---|---|---|
| string | strValue | The string value to convert. |
| Vector2Int | val |
Returns
| Type | Description |
|---|---|
| bool | True if can be parsed, False otherwise. |