Property | Type | Description | |
---|---|---|---|
currentWeapon | int | ||
weaponState | bool[] | ||
weapons | GameObject[] |
Method | Description | |
---|---|---|
Start ( ) : void | ||
SwitchWeapon ( int index ) : void | ||
Update ( ) : void | ||
setWeapon ( GameObject gameObject ) : void |
public setWeapon ( GameObject gameObject ) : void | ||
gameObject | GameObject | |
return | void |