C# Class WeaponSelect, Attack-on-Tapir

Inheritance: MonoBehaviour
Exibir arquivo Open project: cortexarts/Attack-on-Tapir Class Usage Examples

Public Properties

Property Type Description
currentWeapon int
weaponState bool[]
weapons GameObject[]

Public Methods

Method Description
Start ( ) : void
SwitchWeapon ( int index ) : void
Update ( ) : void
setWeapon ( GameObject gameObject ) : void

Method Details

Start() public method

public Start ( ) : void
return void

SwitchWeapon() public method

public SwitchWeapon ( int index ) : void
index int
return void

Update() public method

public Update ( ) : void
return void

setWeapon() public method

public setWeapon ( GameObject gameObject ) : void
gameObject GameObject
return void

Property Details

currentWeapon public_oe property

public int currentWeapon
return int

weaponState public_oe property

public bool[] weaponState
return bool[]

weapons public_oe property

public GameObject[] weapons
return GameObject[]