using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "newRoster", menuName = "Units/Rosters", order = 0)] public class Roster : ScriptableObject { public List<UnitStatBlock> units = new List<UnitStatBlock>(); public void Set(Roster source) { units = new List<UnitStatBlock>(source.units); } }