Figured out how to keep GUI select working
Geogon PolyMetry: The Proof Concept » Devlog
Previously, on
This video fix GUI selection broken by mouse click. fixed by storing selection and reselect previously selected if it is broken.But still a problem.
My game has different menu part, clustered by inherited gameObjects.
I know! I have made a method!
//Workaround to get the store selected selects button on newly activated menu part e.g. Menu -> Option //Fill it with the selectable Button GameObject! public void SetStoreSelected(GameObject newThing) { StoreSelected = newThing; eventSystem.SetSelectedGameObject(StoreSelected); }
Then it will loaded to a button OnClick(), to trigger this method, on LevelLoader.cs in this case.
Now after choosing that method, fill it with the new selectable gameObject on that new menu part. check SampleMenuScene to see it.
Get Geogon PolyMetry: The Proof Concept
Download NowName your own price
Geogon PolyMetry: The Proof Concept
Change your shape to do something (#binus #gat #2dgpbinusgat #binusgat)
Status | Released |
Publisher | |
Author | Perkedel Technologies |
Genre | Platformer |
Tags | 2D, 2dgpbinusgat, binus, binusgat, gat, shape, Singleplayer, Unity, Vector |
Languages | English, Indonesian |
Accessibility | Interactive tutorial |
More posts
- Please give me new versionFeb 20, 2019
- Hidup itu BeratJan 15, 2019
- Xbox vibrationJan 09, 2019
- YameruJan 08, 2019
- UnbeknownstJan 07, 2019
- Days going to be lemonJan 06, 2019
- Item SealedJan 03, 2019
- Septesen submittedJan 02, 2019
- 2019Dec 31, 2018
- CrillDec 28, 2018
Leave a comment
Log in with itch.io to leave a comment.