C# Class CreditMgr, UnityDemo

Inheritance: MonoBehaviour
Mostra file Open project: rouchen/UnityDemo

Public Methods

Method Description
AddCoin ( ) : void

add one coin.

CheckToPlayGame ( ) : bool
GetCredit ( ) : int

get credit count numbers.

PayToPlayGame ( ) : bool

pay to playing game.

SetResolution ( float width, float height ) : void

設定解析度.

Show ( bool show ) : void

顯示訊息.

Private Methods

Method Description
Awake ( ) : void
OnDestroy ( ) : void
RefreshCreditText ( ) : void

refresh credit text.

SetUIComponent ( ) : void

Set UI Component.

Start ( ) : void
Update ( ) : void

Method Details

AddCoin() public method

add one coin.
public AddCoin ( ) : void
return void

CheckToPlayGame() public method

public CheckToPlayGame ( ) : bool
return bool

GetCredit() public method

get credit count numbers.
public GetCredit ( ) : int
return int

PayToPlayGame() public method

pay to playing game.
public PayToPlayGame ( ) : bool
return bool

SetResolution() public method

設定解析度.
public SetResolution ( float width, float height ) : void
width float
height float
return void

Show() public method

顯示訊息.
public Show ( bool show ) : void
show bool
return void