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
Afficher le fichier Open project: Gamieon/PaperCowboys

Méthodes publiques

Свойство Type Description
availableAmmoDrops ItemDrop[],
availableHatDrops ItemDrop[],
availableMouthDrops ItemDrop[],
availableWeaponDrops ItemDrop[],

Méthodes publiques

Méthode Description
GetAvailableDrop ( ItemDropType itemDropType ) : ItemDrop,

Gets the available drop.

Method Details

GetAvailableDrop() public méthode

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

Property Details

availableAmmoDrops public_oe property

The available ammo drops for this level.
public ItemDrop[], availableAmmoDrops
Résultat ItemDrop[],

availableHatDrops public_oe property

The available hat drops for this level.
public ItemDrop[], availableHatDrops
Résultat ItemDrop[],

availableMouthDrops public_oe property

The available mouth accessory drops for this level.
public ItemDrop[], availableMouthDrops
Résultat ItemDrop[],

availableWeaponDrops public_oe property

The available weapon drops for this level.
public ItemDrop[], availableWeaponDrops
Résultat ItemDrop[],