using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class AssetsPlatePresets : ModuleAssets { [SerializeField] private List assets; public override int Count => assets.Count; public override List Datas => assets; protected override void Awake() => ModuleCore.AssetsPlatePresets = this; public override void Add(DataPlatePresets data) => assets.Add(data); public override void Remove(DataPlatePresets data) => assets.Remove(data); public override DataPlatePresets Find(int index) => assets.LoopIndex(index); public override void ForEach(Action action) => assets.ForEach(action); }