2024-10-12 14:37:21 +08:00
|
|
|
|
using DCFApixels.DragonECS.Unity;
|
|
|
|
|
using UnityEngine;
|
2024-10-05 18:27:06 +08:00
|
|
|
|
|
|
|
|
|
namespace DCFApixels.DragonECS
|
|
|
|
|
{
|
|
|
|
|
[MetaName("ScriptableObjectSystem")]
|
|
|
|
|
[MetaColor(MetaColor.DragonCyan)]
|
|
|
|
|
[MetaDescription("Wrapper for ScriptableObject systems")]
|
2024-10-06 09:09:36 +08:00
|
|
|
|
[MetaID("F5A94C5F92015B4D9286E76809311AF4")]
|
2024-10-12 14:37:21 +08:00
|
|
|
|
[MetaGroup(EcsUnityConsts.PACK_GROUP, EcsConsts.OTHER_GROUP)]
|
2024-10-05 18:27:06 +08:00
|
|
|
|
public class ScriptableObjectSystemWrapper : IEcsModule
|
|
|
|
|
{
|
|
|
|
|
public ScriptableObject system;
|
|
|
|
|
public void Import(EcsPipeline.Builder b)
|
|
|
|
|
{
|
|
|
|
|
b.Add(system);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|