InvexGames / MaterialUI

MaterialUI is a UI kit for Unity that follows Google's official material design guidelines.
http://invexgames.com/materialUI.html
Other
771 stars 200 forks source link

RadioButtons ToggleGroup is not working #26

Closed nah0y closed 9 years ago

nah0y commented 9 years ago

We you press play with a Radio Buttons component (with 3 radio buttons), none of them have the link to the ToggleGroup :/

nah0y commented 9 years ago

In the RadioConfig script, in OnEnable, you do: toggleGroup = gameObject.GetComponent.GetComponent();

but you have to do: toggleGroup = gameObject.transform.parent.parent.GetComponent();

InvexGames commented 9 years ago

Fixed :)