I want to save the name of the current texture as string in playerprefs. How can I read the name of a GUITexture?
Access the gameObject of the gui texture, like this:
GUITexture XTexture;
...
XTexture.gameObject.name = "This String";
I want to save the name of the current texture as string in playerprefs. How can I read the name of a GUITexture?
Access the gameObject of the gui texture, like this:
GUITexture XTexture;
...
XTexture.gameObject.name = "This String";