Trying to use resources from the drawable folder in a unity plugin:
I created the Assets\Plugins\Android and put my code jar + android manifest all is good.
- I put the resources in Assets\res\drawable is this the correct path?
- I try to access the resources with code:
int resource_id = getResources().getIdentifier(“loader.xml”, “drawable”,getPackageName());
But it always give id of 0 it seems like it dont see the resources. Any idea why?
Everything else work fine