Terix
1.4.0
Terix-Core
/
dev.racci.terix.core.utils
/
InterfaceUtils
/
toVec
to
Vec
fun
toVec
(
string
:
String
?
,
rows
:
Int
=
-1
,
xOffset
:
Int
=
0
,
yOffset
:
Int
=
1
)
:
Vector2
Gets a Vector2 from a string in the format of "x;y".
fun
toVec
(
index
:
Int
,
rowOffset
:
Int
=
0
,
colOffset
:
Int
=
0
)
:
Vector2