public void Convert(Entity entity, EntityManager dstManager, GameObjectConversionSystem conversionSystem) { var movement = new MovementComponent(); dstManager.AddComponentData(entity, movement); MovementSystem.SetMaxSpeed(speed); }
public void Convert(Entity entity, EntityManager dstManager, GameObjectConversionSystem conversionSystem) { var movement = new MovementComponent(); dstManager.AddComponentData(entity, movement); MovementSystem.SetMaxSpeed(speed); }