Hi,
Is there a way i can load models from a custom archive file format ?
And if so can i load them and display them in the scene (models , music, textures , etc…)
The file format is no problem but the reading it in unity part is kinda confusing me.
Thanks
Absolutely you can. If you are using custom formats that you couldn’t load with Resources.Load, you have access to most of the .NET framework classes (FileStream, XmlTextReader, BinaryReader, etc.) that you can use to dynamically load data at runtime. You can also build your own models as GameObjects containing MeshFilter and MeshRenderer components and a Mesh with vertices, normals, uvs, Materials with Textures, etc. - all of which you can build and assign at runtime. I haven’t tried dynamically loading and assigning sound, but would guess you can do that as well.