mirror of
https://github.com/DCFApixels/DragonECS-Unity.git
synced 2025-09-18 10:04:36 +08:00
20 lines
557 B
C#
20 lines
557 B
C#
using DCFApixels.DragonECS.Unity;
|
|
using UnityEngine;
|
|
|
|
namespace DCFApixels.DragonECS
|
|
{
|
|
[MetaName("ScriptableObjectSystem")]
|
|
[MetaColor(MetaColor.DragonCyan)]
|
|
[MetaDescription("Wrapper for ScriptableObject systems")]
|
|
[MetaID("F5A94C5F92015B4D9286E76809311AF4")]
|
|
[MetaGroup(EcsUnityConsts.PACK_GROUP, EcsConsts.OTHER_GROUP)]
|
|
public class ScriptableObjectSystemWrapper : IEcsModule
|
|
{
|
|
public ScriptableObject system;
|
|
public void Import(EcsPipeline.Builder b)
|
|
{
|
|
b.Add(system);
|
|
}
|
|
}
|
|
}
|