C# 클래스 SSTUTools.ModuleSelectionGUI

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: shadowmage45/SSTULabs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
INSTANCE ModuleSelectionGUI

공개 메소드들

메소드 설명
OnGUI ( ) : void
Start ( ) : void
closeGUI ( ) : void

Should be called by the PartModule to close the GUI. This cleans up resources that were initialized when the GUI was opened.

openGUI ( SSTUTools.ModelData models, float diameter, bool>.Action modelSelectedCB ) : void

Should be called by the PartModule to open the GUI.

비공개 메소드들

메소드 설명
adapterSelected ( ModelGUISelection selection ) : void

Internal call from GUI interaction when the 'select adapter' button is pressed for a specific adapter. Should issue a callback to the opening PartModule with info regarding what adapter was selected, and then close the GUI?

addModelControls ( ) : void
closeInternal ( ) : void
updateGUI ( ) : void

Should be called by the PartModule to update the GUI on every OnGUI Unity call.

updateWindow ( int id ) : void

메소드 상세

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

closeGUI() 공개 정적인 메소드

Should be called by the PartModule to close the GUI. This cleans up resources that were initialized when the GUI was opened.
public static closeGUI ( ) : void
리턴 void

openGUI() 공개 정적인 메소드

Should be called by the PartModule to open the GUI.
public static openGUI ( SSTUTools.ModelData models, float diameter, bool>.Action modelSelectedCB ) : void
models SSTUTools.ModelData
diameter float
modelSelectedCB bool>.Action
리턴 void

프로퍼티 상세

INSTANCE 공개적으로 정적으로 프로퍼티

public static ModuleSelectionGUI,SSTUTools INSTANCE
리턴 ModuleSelectionGUI