C# 클래스 MinigameSilhouette.GameScriptSil

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: BrainProject/UnityTemp

공개 프로퍼티들

프로퍼티 타입 설명
columns int
correctPairsDisplay UnityEngine.GUIText
gameType ResourcePackSil.GameType
menu UnityEngine.GameObject
resourcePack string
resourcePackMenu UnityEngine.GameObject
rows int
scoreboard ScoreboardSil
timerDisplay UnityEngine.GUIText
wrongPairsDisplay UnityEngine.GUIText

공개 메소드들

메소드 설명
CreateGameBoard ( ) : void
CreateTimer ( ) : void

Creates and starts timer.

FoundPair ( GameObject first, GameObject second ) : IEnumerator

COROUTINE. Called when user selected two pictures which match.

NotFoundPair ( GameObject first, GameObject second ) : IEnumerator

COROUTINE. Called when user selected two pictures which do not match.

Pick ( ) : void

Randomly assigns pictures to planes.

Start ( ) : void

Initialization. Creates all cubes and planes, sets their position etc.

TimerTick ( object o, System e ) : void

Timer tick event method.

Update ( ) : void

Infinite loop.

pictureMatch ( string tex1, string tex2 ) : bool

Returns true, if two pictures should match.

메소드 상세

CreateGameBoard() 공개 메소드

public CreateGameBoard ( ) : void
리턴 void

CreateTimer() 공개 메소드

Creates and starts timer.
public CreateTimer ( ) : void
리턴 void

FoundPair() 공개 메소드

COROUTINE. Called when user selected two pictures which match.
public FoundPair ( GameObject first, GameObject second ) : IEnumerator
first UnityEngine.GameObject First object
second UnityEngine.GameObject Second object
리턴 IEnumerator

NotFoundPair() 공개 메소드

COROUTINE. Called when user selected two pictures which do not match.
public NotFoundPair ( GameObject first, GameObject second ) : IEnumerator
first UnityEngine.GameObject First object
second UnityEngine.GameObject Second object
리턴 IEnumerator

Pick() 공개 메소드

Randomly assigns pictures to planes.
public Pick ( ) : void
리턴 void

Start() 공개 메소드

Initialization. Creates all cubes and planes, sets their position etc.
public Start ( ) : void
리턴 void

TimerTick() 공개 메소드

Timer tick event method.
public TimerTick ( object o, System e ) : void
o object O.
e System E.
리턴 void

Update() 공개 메소드

Infinite loop.
public Update ( ) : void
리턴 void

pictureMatch() 공개 메소드

Returns true, if two pictures should match.
public pictureMatch ( string tex1, string tex2 ) : bool
tex1 string Picture 1 name
tex2 string Picture 2 name
리턴 bool

프로퍼티 상세

columns 공개적으로 프로퍼티

public int columns
리턴 int

correctPairsDisplay 공개적으로 프로퍼티

public GUIText,UnityEngine correctPairsDisplay
리턴 UnityEngine.GUIText

gameType 공개적으로 프로퍼티

public ResourcePackSil.GameType gameType
리턴 ResourcePackSil.GameType

menu 공개적으로 프로퍼티

public GameObject,UnityEngine menu
리턴 UnityEngine.GameObject

resourcePack 공개적으로 프로퍼티

public string resourcePack
리턴 string

resourcePackMenu 공개적으로 프로퍼티

public GameObject,UnityEngine resourcePackMenu
리턴 UnityEngine.GameObject

rows 공개적으로 프로퍼티

public int rows
리턴 int

scoreboard 공개적으로 프로퍼티

public ScoreboardSil,MinigameSilhouette scoreboard
리턴 ScoreboardSil

timerDisplay 공개적으로 프로퍼티

GUIText for timer.
public GUIText,UnityEngine timerDisplay
리턴 UnityEngine.GUIText

wrongPairsDisplay 공개적으로 프로퍼티

public GUIText,UnityEngine wrongPairsDisplay
리턴 UnityEngine.GUIText