C# Class MarkedMenuScript, 3D-DATA-ZombieBeaverSpil

Inheritance: MonoBehaviour
Datei anzeigen Open project: Sundanian/3D-DATA-ZombieBeaverSpil

Public Properties

Property Type Description
buySound UnityEngine.AudioClip
menuSound UnityEngine.AudioClip

Public Methods

Method Description
Awake ( ) : void
BackToPreviousMenu ( ) : void
BuyAssaultRifle ( ) : void
BuyHealth ( ) : void
BuyShotgun ( ) : void
BuySniper ( ) : void
BuyUzi ( ) : void
Start ( ) : void
Update ( ) : void
UpgradeHouse ( ) : void
UpgradeWeaponDamage ( ) : void

Private Methods

Method Description
CanBuy ( int currentCurrency, int price ) : bool
CanBuy ( int currentCurrency, int price, bool bought ) : bool
CanBuy ( int currentCurrency, int price, int currentLevel, int maxLevel ) : bool
SaveToDatabase ( ) : void
SetupDatabase ( ) : void
UpdatePrice ( UpgradeType, type ) : void
UpdateText ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

BackToPreviousMenu() public method

public BackToPreviousMenu ( ) : void
return void

BuyAssaultRifle() public method

public BuyAssaultRifle ( ) : void
return void

BuyHealth() public method

public BuyHealth ( ) : void
return void

BuyShotgun() public method

public BuyShotgun ( ) : void
return void

BuySniper() public method

public BuySniper ( ) : void
return void

BuyUzi() public method

public BuyUzi ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpgradeHouse() public method

public UpgradeHouse ( ) : void
return void

UpgradeWeaponDamage() public method

public UpgradeWeaponDamage ( ) : void
return void

Property Details

buySound public_oe property

public AudioClip,UnityEngine buySound
return UnityEngine.AudioClip

menuSound public_oe property

public AudioClip,UnityEngine menuSound
return UnityEngine.AudioClip