C# Class LootFactory

Inheritance: MonoBehaviour
显示文件 Open project: marouen-lamiri/Second-Soul Class Usage Examples

Public Properties

Property Type Description
itemHolderPrefab ItemHolder,

Public Methods

Method Description
determineDrop ( float dropRate, Vector3 originPostion ) : void

Private Methods

Method Description
Start ( ) : void
Update ( ) : void
addItemToDict ( System type, int weight ) : void
initializeItemsAndWeights ( ) : void

Method Details

determineDrop() public method

public determineDrop ( float dropRate, Vector3 originPostion ) : void
dropRate float
originPostion Vector3
return void

Property Details

itemHolderPrefab public_oe property

public ItemHolder, itemHolderPrefab
return ItemHolder,