Skip to content

Broken tutorial #3

Description

@akoolenbourke

Hi guys. The tutorial is broken at the moment, with the most recent release.

When getting to the part to add the AddViewSystem, pasting the code in gives an error in this function

protected override Collector<GameEntity> GetTrigger(IContext<GameEntity> context)
    {
        return _context.CreateCollector(GameMatcher.Sprite);
    }

The return type for GetTrigger is wrong and following that CreateCollector is erroring because of it. Changing The return type to ICollector from Collector stops errors.

Additionally, the go.Link call has an error "No Overload for Link takes 2 parameters". Removing the second parameter, _context fixes the errors

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions