RadioBtnGroup.GetSelected C# (CSharp) Method

GetSelected() public static method

Returns a reference to the selected radio button for the specified group.
public static GetSelected ( GameObject go ) : IRadioButton
go GameObject
return IRadioButton
	public static IRadioButton GetSelected(GameObject go)
	{
		return GetSelected(go.transform.GetHashCode());
	}

Same methods

RadioBtnGroup::GetSelected ( int id ) : IRadioButton

Usage Example

 public static IRadioButton GetSelected(GameObject go)
 {
     return(RadioBtnGroup.GetSelected(go.transform.GetHashCode()));
 }