public void Convert(Entity entity, EntityManager dstManager, GameObjectConversionSystem conversionSystem)
    {
        var data = new PerlinPosition {
        };

        dstManager.AddComponentData(entity, data);
    }
Ejemplo n.º 2
0
    public void Convert(Entity entity, EntityManager dstManager, GameObjectConversionSystem conversionSystem)
    {
        var data = new PerlinPosition {
        };                                         //create a new component

        dstManager.AddComponentData(entity, data); //adding the component to the entity
    }