Property | Type | Description | |
---|---|---|---|
iconRenderer | Renderer | ||
iconTransform | Transform | ||
itemDrop | ItemDrop, | ||
playerCharacter | PlayerCharacter, | ||
sndDropPickup |
Method | Description | |
---|---|---|
FixedUpdate ( ) : void | ||
GiveAmmoDropToPlayer ( ) : void |
Called by GiveDropToPlayer to give ammo to the player
|
|
GiveCowboyHatToPlayer ( ) : void |
Called by GiveDropToPlayer to give a hat to the player
|
|
GiveDropToPlayer ( ) : void |
Called when the player runs into the drop
|
|
GiveMouthpieceToPlayer ( ) : void |
Called by GiveDropToPlayer to give a mouthpiece (bandana) to the player
|
|
GiveWeaponDropToPlayer ( WeaponDirector, weapon, int defaultAmmo ) : void |
Called by GiveDropToPlayer to give a weapon to the player
|
|
SelfDestruct ( ) : void |
Called when the drop has been on the ground so long that it must be removed automatically. We can't just leave these in the scene forever.
|
|
Start ( ) : void |
public GiveWeaponDropToPlayer ( WeaponDirector, weapon, int defaultAmmo ) : void | ||
weapon | WeaponDirector, | /// Weapon. /// |
defaultAmmo | int | /// Default ammo. /// |
return | void |