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

input example should use 'input' and not just 'delta' #1161

Open
droqen opened this issue Nov 13, 2023 · 0 comments
Open

input example should use 'input' and not just 'delta' #1161

droqen opened this issue Nov 13, 2023 · 0 comments

Comments

@droqen
Copy link

droqen commented Nov 13, 2023

https://ambient.run/docs/examples/d563xtcr72ovuuhfkvsgag6z3wiy5jwr

The INPUT example has this line:

let (delta, _input) = input::get_delta();

It does not use _input at all, and this may not be intuitive to first-time users (there was recent confusion in the Discord experienced by @stakso_11721); we should show usage of input because it is common that someone will want to use it for something

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