custom-chatbot / data /ChainItemSystem.cs
fastx's picture
Upload 84 files
ce81a16
raw
history blame
421 Bytes
using System;
using Photon.Deterministic;
using Quantum.Task;
namespace Quantum
{
public unsafe class ChainItemSystem : SystemThreadedFilter<ChainItemSystem.Filter>
{
public struct Filter
{
public EntityRef Entity;
public Transform3D* Transform;
public ChainItem* Item;
}
public override void Update(FrameThreadSafe frame, ref Filter filter)
{
filter.Item->Update(frame, ref filter);
}
}
}