简体   繁体   中英

How to get full path to the texture of the material?

I have material, I want to change the texture (mainTexture) on a fragment of a texture atlas. But in order to know which to use the atlas I need to get the full path to the current texture. How to get a guid "texture asset" or just the full path to the texture of the material? News for Editor, but not for the Runtime.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM