C# Class AmmoVendingMachine, AwesomeGameInSpace

Inheritance: Interactive
显示文件 Open project: ZPZ-Gr2/AwesomeGameInSpace

Public Properties

Property Type Description
ammoAmount int
ammoPrice int
getSound UnityEngine.AudioClip

Public Methods

Method Description
MomentaryAction ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
CanBuy ( string &msg ) : bool

Method Details

MomentaryAction() public method

public MomentaryAction ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

ammoAmount public_oe property

public int ammoAmount
return int

ammoPrice public_oe property

public int ammoPrice
return int

getSound public_oe property

public AudioClip,UnityEngine getSound
return UnityEngine.AudioClip