Hi Chris, I have been trying to write a custom AC Action to change the image of an AC menu linked to Unity UI, but for some reason, the image doesn't seem to update.
In my code, I can capture the menu and the sprite is loaded (after fighting over resource.load for a while to get the correct syntax for the path).
Could you have a quick look into the
following code to see if you can find what's wrong?
Once this works, I can share the final code with the community.
Comments
Here's a link to the functional script for anyone who needs it.
I get this error if I try to add the script to the actions folder.