Esempio n. 1
0
    public void Convert(Entity entity, EntityManager dstManager, GameObjectConversionSystem conversionSystem)
    {
        var movement = new MovementComponent();

        dstManager.AddComponentData(entity, movement);
        MovementSystem.SetMaxSpeed(speed);
    }