File size: 421 Bytes
ce81a16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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);
		}
	}
}