모델 스크립트 추가
Some checks failed
Code Review / code-review (pull_request) Has been cancelled

모델 아이콘 추가
모든 모델 UI 추가
This commit is contained in:
SullyunShin
2025-05-12 10:25:52 +09:00
parent b0c3a00dfe
commit efebf78a0b
37 changed files with 2303 additions and 7 deletions

View File

@@ -0,0 +1,19 @@
using UnityEngine;
using System.Collections.Generic;
using System.Linq;
public class DataManager : UnitySingleton<DataManager>
{
List<SimulationModel> models = new List<SimulationModel>();
public void AddModel(SimulationModel model)
{
if (models.Any(x => x == model))
return;
models.Add(model);
}
public void RemoveModel(SimulationModel model)
{
if (models.Any(x => x == model))
return;
models.Remove(model);
}
}