GetVector2Int

GetVector2Int(Vector2Int)

public Vector2Int GetVector2Int(Vector2Int defaultValue) ;

Description

Get the value of the Vector2Int type.

Parameters

Parameter Name Description
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()

public Vector2Int GetVector2Int() ;

Description

Get the value of the Vector2Int type.

Returns

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