Hi,
Is there a way to load a different image source of a specific sprite sheet during runtime ??
Thank you
Hi,
Is there a way to load a different image source of a specific sprite sheet during runtime ??
Thank you
Hello,
Please checkout this link: Unity - Scripting API: Resources.Load
After the load is complete you can assign that image to the sprite.
thx for your reply !
I tried : renderer.material.mainTexture = Resources.Load.(“playerSheet2.png”);
But doesn’t work. What i want to achieve ( don’t know if my question was clear) is not to change a texture on an object. It’s to change to image source which contains multiple sprites for my animations.