metahunt/Assets/Scripts/LootSpawner.cs
2024-02-11 13:53:18 +05:30

17 lines
337 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LootSpawner : MonoBehaviour
{
public List<LootGroup> groups = new List<LootGroup>();
}
[Serializable]
public struct LootGroup
{
[Range(0f, 100f)]
public float chance;
public List<LootItemScriptableObject> loots;
}