Apparently Port.isConnected only works in editor. Not in the build. So because the value always returns false in Build it always uses it’s own value which after reaching min-max either 0 or 1.
So i added a public bool which says useInputValue if ticked input value is used, if not ticked BBParameter is used for progress calculation.
So how can the script know in build, if the port was connected or not?
Login
Register
By registering on this website you agree to our Privacy Policy.