C# 클래스 RadioBtnGroup, marblemadness

A class which encapsulates all that is required to track and manage radio buttons as a group.
파일 보기 프로젝트 열기: MtvnGames/marblemadness 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
buttons ArrayList
groupID int

공개 메소드들

메소드 설명
GetGroup ( int id ) : RadioBtnGroup,

Returns a reference to the radio button group specified by "id".

GetSelected ( GameObject go ) : IRadioButton

Returns a reference to the selected radio button for the specified group.

GetSelected ( int id ) : IRadioButton

Returns a reference to the selected radio button for the specified group.

RadioBtnGroup ( int id ) : UnityEngine

메소드 상세

GetGroup() 공개 정적인 메소드

Returns a reference to the radio button group specified by "id".
public static GetGroup ( int id ) : RadioBtnGroup,
id int The ID of the group (either an arbitrary integer ID, or the hashcode of a radio button's parent transform, depending on the settings).
리턴 RadioBtnGroup,

GetSelected() 공개 정적인 메소드

Returns a reference to the selected radio button for the specified group.
public static GetSelected ( GameObject go ) : IRadioButton
go GameObject
리턴 IRadioButton

GetSelected() 공개 정적인 메소드

Returns a reference to the selected radio button for the specified group.
public static GetSelected ( int id ) : IRadioButton
id int The ID of the group (either an arbitrary integer ID, or the hashcode of a radio button's parent transform, depending on the settings).
리턴 IRadioButton

RadioBtnGroup() 공개 메소드

public RadioBtnGroup ( int id ) : UnityEngine
id int
리턴 UnityEngine

프로퍼티 상세

buttons 공개적으로 프로퍼티

public ArrayList buttons
리턴 ArrayList

groupID 공개적으로 프로퍼티

public int groupID
리턴 int