C# Class ItemDrop, PaperCowboys

Show file Open project: Gamieon/PaperCowboys Class Usage Examples

Public Properties

Property Type Description
DropType ItemDropType
Icon UnityEngine.Texture2D
Weight float

Property Details

DropType public property

The type of the drop
public ItemDropType DropType
return ItemDropType

Icon public property

The item icon
public Texture2D,UnityEngine Icon
return UnityEngine.Texture2D

Weight public property

The chances of it being chosen relative to other item drops
public float Weight
return float