This commit is contained in:
MuHua-123
2024-11-25 18:32:05 +08:00
parent 72d1f89b54
commit 84243e75a8
353 changed files with 17666 additions and 3206 deletions
@@ -0,0 +1,18 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AssetsPlatePresets : ModuleAssets<DataPlatePresets> {
[SerializeField] private List<DataPlatePresets> assets;
public override int Count => assets.Count;
public override List<DataPlatePresets> 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<DataPlatePresets> action) => assets.ForEach(action);
}