im currently trying to do an foreach loop, but seems not to work.. any solutions (sorry for my english
)
thank you for help! :)
Code:
const mapParts = {
"MapPart1": {
vertices: [
new Vector3(-1090.255, -1714.1018, 4.3393965),
new Vector3(-1001.314, -1611.5155, 4.929909)
]
}
}
addGameEvent("InitGameEvent", () => {
Array.from(mapParts).forEach(element => {
// element is null :(
});
});