12 lines
158 B
C#
12 lines
158 B
C#
|
using System;
|
||
|
using UnityEngine;
|
||
|
|
||
|
[Serializable]
|
||
|
public class SpawnableItemWithRarity
|
||
|
{
|
||
|
public Item spawnableItem;
|
||
|
|
||
|
[Range(0f, 100f)]
|
||
|
public int rarity;
|
||
|
}
|