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

Conflicting Comment and Code in Tank Sample #285

Closed
samueldcorbin opened this issue Mar 22, 2024 · 0 comments
Closed

Conflicting Comment and Code in Tank Sample #285

samueldcorbin opened this issue Mar 22, 2024 · 0 comments

Comments

@samueldcorbin
Copy link

There is a major inconsistency here:

https://github.com/Unity-Technologies/EntityComponentSystemSamples/blob/master/EntitiesSamples/Assets/Tutorials/Tanks/Step%202/TurretRotationSystem.cs

The comment says:

    // It has to be added on BOTH the struct AND the OnCreate/OnDestroy/OnUpdate functions to be
    // effective.

Immediately below that...the attribute is added to the functions, but not the struct.

@samueldcorbin samueldcorbin closed this as not planned Won't fix, can't repro, duplicate, stale Mar 22, 2024
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

1 participant