mirror of
https://github.com/DCFApixels/DragonECS-Unity.git
synced 2025-09-19 02:24:35 +08:00
17 lines
408 B
C#
17 lines
408 B
C#
![]() |
using UnityEngine;
|
|||
|
|
|||
|
namespace DCFApixels.DragonECS
|
|||
|
{
|
|||
|
[MetaName("ScriptableObjectSystem")]
|
|||
|
[MetaColor(MetaColor.DragonCyan)]
|
|||
|
[MetaDescription("Wrapper for ScriptableObject systems")]
|
|||
|
public class ScriptableObjectSystemWrapper : IEcsModule
|
|||
|
{
|
|||
|
public ScriptableObject system;
|
|||
|
public void Import(EcsPipeline.Builder b)
|
|||
|
{
|
|||
|
b.Add(system);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|