Help! Need to reduce the transition time on this code

Scripting
I have a game where it changes objects from one set to another but it takes too long. I dont really know coding well, but this is the lines that i believe control the "seasons". Currently it takes 5s to change over and i dont know how to write it so it reduces to 1s.

let timeDriver = Animation.timeDriver(timeDriverParameters);
timeDriver.onAfterIteration().subscribe(function () {
nextSeason()
layoutLevel();
});


nextseason triggers the animation controller to pick between summer, winter, spring and autumn, which changes the textures. but it takes way to long. Any help?
Asked about 2 months ago by Luke
0 Votes2 FollowersSeen by 1