C# 클래스 LevelsTable, RoverGame

상속: MonoBehaviour
파일 보기 프로젝트 열기: Stumpstump/RoverGame 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
currentLevelID int
levelPrefab GameObject
levelsParent Transform
starOff Sprite
starOn Sprite
tableLevels List

공개 메소드들

메소드 설명
OnEnable ( ) : void

When the GameObject becomes visible

비공개 메소드들

메소드 설명
Awake ( ) : void
CreateLevels ( ) : void

Creates the levels.

SettingUpLevel ( TableLevel, tableLevel, int ID ) : void

Settings up the level contents in the table.

메소드 상세

OnEnable() 공개 메소드

When the GameObject becomes visible
public OnEnable ( ) : void
리턴 void

프로퍼티 상세

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

The current or selected level ID.
public static int currentLevelID
리턴 int

levelPrefab 공개적으로 프로퍼티

The level prefab.
public GameObject levelPrefab
리턴 GameObject

levelsParent 공개적으로 프로퍼티

The levels parent.
public Transform levelsParent
리턴 Transform

starOff 공개적으로 프로퍼티

The star off sprite.
public Sprite starOff
리턴 Sprite

starOn 공개적으로 프로퍼티

The star on sprite.
public Sprite starOn
리턴 Sprite

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

The table levels.
public static List tableLevels
리턴 List