currently I’m working on actions for Master Audio, where a nullable float is in the parameters for calling PlaySound.
When I declare ‘pitch’ as ‘float?’ in my action task, node canvas crashes in a loop, error:
I don’t know why you want to use a nullable float for pitch, but I don’t get an error for using one. Are you using the latest NC version 1.5.8?
By the way, a nullable float will not show up for inspection as well as it won’t be serialized. To avoid the GUI error if you do use some older version, you could simply make it private or add [HideInInspector] on top of it if you do want to leave it public for some reason.
Cheers!
Join us on Discord: https://discord.gg/97q2Rjh
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.