|
When I write a postprocessor script that shall change the texture of a mesh that I'm importing, how can I get a reference to an existing texture within an editor script so that I can modify the imported model's texture to the one I have already in my project?
(comments are locked)
|
|
I'm not sure, but give AssetDatabase.LoadAssetAtPath a try AssetDatabase.LoadAssetAtPath would indeed be your weapon of choice.
Nov 04 '09 at 10:51 AM
AngryAnt ♦♦
Accept this answer! I give Vote+1 :)
Dec 16 '12 at 02:51 AM
clunk47
(comments are locked)
|
