loadScene is a proc that uses findScene which calls walkDir. On Android (maybe iOS too) we can't assume access to the filesystem since the exported library is placed in a different file structure compared when we're developing in the editor.
loadScene should be a template and findScene should be a macro to execute at compile time.
loadScene
is a proc that usesfindScene
which callswalkDir
. On Android (maybe iOS too) we can't assume access to the filesystem since the exported library is placed in a different file structure compared when we're developing in the editor.loadScene
should be a template andfindScene
should be a macro to execute at compile time.