Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source code differ from wiki #1

Open
SomeWare opened this issue Oct 22, 2017 · 1 comment
Open

Source code differ from wiki #1

SomeWare opened this issue Oct 22, 2017 · 1 comment

Comments

@SomeWare
Copy link

Hi!
The source code here
https://github.com/FNGgames/Entitas-Hello-World-Unity-Example
DebugMessageSystem.cs
protected override Collector GetTrigger(IContext context)

differs from the wiki here
https://github.com/sschmid/Entitas-CSharp/wiki/Unity-Tutorial-Hello-World
DebugMessageSystem.cs
protected override ICollector GetTrigger(IContext context)

The wiki code worked on my Mac.

@FNGgames
Copy link
Owner

Hi @SomeWare. Yes the source code is using an older version of entitas. The wiki text gets updated when new versions come out but I can't maintain the example code due to time constraints.

The main change is that GetTrigger returns an ICollector instead of a Collector as you've noted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants