Hi all!
I am using the Unity Serializer asset and am running into a small issue…
I have when a base scene is launched, it loads the last level. This works fine, but I need to call a function after all the resources are deserialized. I know there are OnDeserialized() functions, but I can’t seem to get them to call correctly… this is my script thus far.
function Start () {
LevelSerializer.LoadNow(levelData);
loadTextures(); //This function needs called after loaded
loadedScene = true;
}
As you can see, pretty straight forward… just can’t seem to get it to yield. I have tried using yield LevelSerializer but it does nothing at all!
Thanks!