mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 18:14:37 +08:00
29 lines
660 B
C#
29 lines
660 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using UnityEngine;
|
|
|
|
namespace DCFApixels.DragonECS
|
|
{
|
|
public class TestSystem : IEcsInject<SharedData>, IEcsSimpleCycleSystem
|
|
{
|
|
private SharedData _sharedData;
|
|
public void Inject(SharedData obj) => _sharedData = obj;
|
|
|
|
public void Init(EcsSession session)
|
|
{
|
|
Debug.Log("Init");
|
|
}
|
|
public void Run(EcsSession session)
|
|
{
|
|
Debug.Log("Run");
|
|
}
|
|
public void Destroy(EcsSession session)
|
|
{
|
|
Debug.Log("Destroy");
|
|
}
|
|
}
|
|
}
|