mirror of
https://github.com/DCFApixels/DragonECS-Unity.git
synced 2025-09-18 10:04:36 +08:00
19 lines
475 B
Plaintext
19 lines
475 B
Plaintext
![]() |
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
using DCFApixels.DragonECS;
|
||
|
|
||
|
namespace #NAMESPACE#
|
||
|
{
|
||
|
public class #SCRIPTNAME# : IEcsRunSystem, IEcsInject<EcsWorld<DefaultWorld>>
|
||
|
{
|
||
|
private EcsWorld<DefaultWorld> _world;
|
||
|
public void Inject(EcsWorld<DefaultWorld> obj) => _world = obj;
|
||
|
|
||
|
public void Run(EcsSystems systems)
|
||
|
{
|
||
|
// will be called on each EcsSystems.Run() call
|
||
|
}
|
||
|
}
|
||
|
}
|