GetVector2Int

GetVector2Int(string, Vector2Int)

public Vector2Int GetVector2Int(string name, Vector2Int defaultValue) ;

Description

Get the value of the Vector2Int type.

Parameters

Parameter Name Description
name Name.
defaultValue Default value. It is returned when there is no parameter.

Returns

The value of the parameter. If there is no parameter, it returns defaultValue.

GetVector2Int(string)

public Vector2Int GetVector2Int(string name) ;

Description

Get the value of the Vector2Int type.

Parameters

Parameter Name Description
name Name.

Returns

The value of the parameter. If there is no parameter, it returns Vector2Int.zero.

GetVector2Int(int, Vector2Int)

public Vector2Int GetVector2Int(int id, Vector2Int defaultValue) ;

Description

Get the value of the Vector2Int type.

Parameters

Parameter Name Description
id ID.
defaultValue Default value. It is returned when there is no parameter.

Returns

The value of the parameter. If there is no parameter, it returns defaultValue.

GetVector2Int(int)

public Vector2Int GetVector2Int(int id) ;

Description

Get the value of the Vector2Int type.

Parameters

Parameter Name Description
id ID.

Returns

The value of the parameter. If there is no parameter, it returns Vector2Int.zero.