I am using GUI toggle button and GUI style together but some reason gui toggle is not working.
Code:
bool btBoy = GUI.Toggle (new Rect(350,80,90,90), btBoy, boyContent, genderStyle);
In the genderStyle i have used only Normal and On Normal functionality.
Any help would be much appreciated.
Thanks
I tried using a simple gui toggle without any return value.
GUI.Toggle (new Rect(350,80,90,90), btBoy, boyContent, genderStyle);
with Hover in gui genderStyle…the toggle button is still not showing.
Thanks.
I tried that even then the toggle button is not working.
If i take out the guistyle…toggle is working just fine.