Created
April 3, 2015 22:45
-
-
Save unitycoder/19304cfd53d412d00b19 to your computer and use it in GitHub Desktop.
Revisions
-
unitycoder created this gist
Apr 3, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ void GetActiveToggle(ToggleGroup group) { // get first active toggle (and actually there should be only one in a group) foreach (var item in group.ActiveToggles()) { Debug.Log(item.name); break; } }