How to get list of assets available

Hello monkeys.

Is there a common way of getting a list of available assets?

For example, a list of all availables j3o files in the asset folder Scenes. I would need this to simplify things. (I only need to add a new scene and will be able to load it without changing something in the code.)



best regards

You could get a list of all the files in the directory, iterate through it, and if it has .j3o extension, then use it. (i think this is possible with assets folder)