question

spheroku avatar image
spheroku asked

Unity GUI question

There are variables in the GameCircle Unity example script file (GameCircleSocialExample) that refer to "original Gui Skin" and "local GUI skin" and I can't find the skins I would like to modify anywhere... When I create one myself and try to attach it to the game object the script is on, nothing happens -- the look of the buttons does not change... Can anybody give me a hint as to what should I do to change the look of the skins or replace them with my own?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Bipin@Amazon avatar image
Bipin@Amazon answered
Let's say your own skin as "myskin" which is attached to the gameobject public GUISkin myskin; Have you added in GUI method void OnGUI() { GUI.skin = myskin; }
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

spheroku avatar image
spheroku answered
Would you attach this this as a separate script, or add those lines to the existing Amazon script (GameCircleSocialExample.cs)?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

spheroku avatar image
spheroku answered
Adding those lines to the Amazon scripts does not work (I think this is because they are overwritten by the settings in "localGuiSkin" & "originalGuiSkin" included in the script) How do I change the settings of "local" or "original" GUI Skins? They are nowhere to be found... Message was edited by: spheroku
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

spheroku avatar image
spheroku answered
Does anybody know how to edit the GUI skins in Unity sample scene named [b]GameCircleSocialExample[/b] included in Amazon SDK? Specifically, how to find and edit: [b]1) originalGuiSkin 2) localizedGuiSkin[/b] I can't find any answer anywhere...
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

spheroku avatar image
spheroku answered
After struggling, I was able to change the GameCircle Sample skin by importing from Asset Store and modifying "Builtin Skin" package.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.