C# Class GameDropDirector, PaperCowboys

This component should be attached to the GameManager game object of a game scene. It is used by the GameDirector component to decide what item to drop when a player earns one. Developers can modify this component's values in the scene from the Unity editor's inspector window to dictate what can drop and how often. For example, you don't want players getting high level weapons in level 1; likewise getting pistols at level 20 is rather useless.
Inheritance: MonoBehaviour
Mostrar archivo Open project: Gamieon/PaperCowboys

Public Properties

Property Type Description
availableAmmoDrops ItemDrop[],
availableHatDrops ItemDrop[],
availableMouthDrops ItemDrop[],
availableWeaponDrops ItemDrop[],

Public Methods

Method Description
GetAvailableDrop ( ItemDropType itemDropType ) : ItemDrop,

Gets the available drop.

Method Details

GetAvailableDrop() public method

Gets the available drop.
public GetAvailableDrop ( ItemDropType itemDropType ) : ItemDrop,
itemDropType ItemDropType /// Item drop type. ///
return ItemDrop,

Property Details

availableAmmoDrops public_oe property

The available ammo drops for this level.
public ItemDrop[], availableAmmoDrops
return ItemDrop[],

availableHatDrops public_oe property

The available hat drops for this level.
public ItemDrop[], availableHatDrops
return ItemDrop[],

availableMouthDrops public_oe property

The available mouth accessory drops for this level.
public ItemDrop[], availableMouthDrops
return ItemDrop[],

availableWeaponDrops public_oe property

The available weapon drops for this level.
public ItemDrop[], availableWeaponDrops
return ItemDrop[],