RadioBtnGroup.GetSelected C# (CSharp) Метод

GetSelected() публичный статический Метод

Returns a reference to the selected radio button for the specified group.
public static GetSelected ( GameObject go ) : IRadioButton
go GameObject
Результат 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()));
 }