Edit Image in Runtime in Unity
In Rive docs on Unity, I saw there is PNG images feature support, but I cannot find how to use them within Unity.
Can I edit Images within Rive in Unity? Similar to TextRun? artboard.SetTextRun("textRunName", "newValue")
You can replace images. Look at the Loading Assets section in the documentation:
I'm sorry, but I'm too dumb to understand.
Do I need to make them Referenced - then I need to change them within Unity script, let's say in Resource folder?
Okay, but how could I Access them directly in case, if I have multiple PlaceHolder Images, and I want to replace each one of them with specific images?
Or am I wrong? I don't really understand the "Loading Assets" page.
Hi, updating image assets at runtime is not available in Unity at the moment. However, it will be available in an update soon!
Hi, but what about PNG images within Unity, it says supported, but what does it supports, just Assets?
That means you can use png, jpeg, and webp images in your Rive files, and they will show up in Unity.