You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
674 B

using Entitas;
using NotImplementedException = System.NotImplementedException;
namespace CoreGame.Render.System.MotionSync
{
public class LogicTransformFlushSystem : IExecuteSystem
{
private readonly CombatContext m_Contexts;
public LogicTransformFlushSystem(CombatContext contexts)
{
m_Contexts = contexts;
}
public void Execute(float deltaTime)
{
var ces = m_Contexts.GetGroup(CombatMatcher.TransformProxy).GetEntities(Contexts.s_CacheEntities);
for (int i = 0; i < ces.Count; i++)
{
ces[i].transformProxy.Flush();
}
}
}
}