RiftMayhem/Assets/Scripts/Drops/WeightedDrop.cs

18 lines
333 B
C#

using Kryz.CharacterStats.Examples;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class WeightedDrop
{
public Item drop;
public float weight;
public WeightedDrop(Item item, float weight)
{
this.drop = item;
this.weight = weight;
}
}