-
Notifications
You must be signed in to change notification settings - Fork 29
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
Unity Academy upgrades #251
Unity Academy upgrades #251
Conversation
- Add logging functions - Use Vector3 to represent coordinates in functions' parameters and return values - Bug fixes - Corrected documentation mistakes
This file is not supposed to be here :)
Comment unfinished audio functions for the current deployment this time
- Add documentation to introduce the usage of rich text in gui functions and logging functions - Add parameters: `width` and `height` for `gui_button` function - Remove `fontSize` parameter in functions `gui_label` and `gui_button` since font size can be specified with rich text
- Add `vector_difference` function for calculating vecA - vecB - change function name `add_vector` to `add_vectors` (just the name itself)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, perhaps we can update the sample share link to fix the 520 error as well.
Already updated, since old examples use old functions parameters that have changed in this new version. |
debug_log
,debug_logwarning
anddebug_logerror
to log messages to Unity Academy Consolegui_label
andgui_button
: removefontSize
parameter for both functions (since font size can be specified directly by rich text tagsize
) and addwidth
andheight
parameter forgui_button
functionvector_difference
math function and rename function nameadd_vector
toadd_vectors
index.ts
for today's deployment. I will open another PR when I totally finish audio support.