- Home /
Prefab Sharing Textures
Hello. To save memory and draw calls, I would like to have, say, 4 prefabs share a texture. Whats the best approach here?
I could have each prefab reference a copy of its own texture. Then when importing into Unity, I can delete them all but one, which all prefabs will reference to.
I could even place the shared texture in a Shared Assets folder.
But this all seems like a lot of manual work.
Answer by Alec Thilenius · Dec 19, 2012 at 07:52 AM
If i'm understanding your question correct, then you are way over thinking this. Unity handles all of this for you. A texture in your asset list (No matter how many times it is used on different prefabs, or the same prefab instantiated multiple times) will always only exist once in memory, and at most once in video memory.
thank you. sounds like me - over thinking everything
Your answer
Follow this Question
Related Questions
Help stopping texturing one model in editor from texturing all models loaded into project? 1 Answer
Import assets, linking their components automaticly. 0 Answers
How to get rid of green orbs appearing every now and then? 0 Answers
No "Standard Assets" in Project tab, new to unity, please help 2 Answers