Hello, dear Defold community!
I’m trying to understand how the loading system works. I saw and repeated this official tutorial also I saw this example
But it’s still unclear to me, I am not a programmer.
So, I made an entry point, GO that contains two ‘collection proxy’ components.
Also, I made a script. You can see the outliner on the screenshot
In this script, I write the code
function init(self)
msg.post(".", "acquire_input_focus")
msg.post("#collection_menu_loader", "load")
end
function on_message(self, message_id, message, sender)
if message_id == hash("proxy_loaded") then
print("proxy_loaded", sender)
msg.post(sender, "enable")
end
end
And… It works! Yes, my collection loads… but the debugger says about an error
I can’t understand, where I made a mistake.
Hope you will help me