You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe there is a bug with VariableReferences where the Readonly property never shows when appropriate. The code in BaseVariableEditor says to return if the variable "IsClampable". I believe this should be changed to "_isClamped.boolValue".
I believe the intention is that some instances of an variable (say an IntVar) can be readonly, and some other instances can be set as not readonly. The current behaviour is that if something is clampable (like an IntVar), then it cannot be readonly, instead of if the variable is currently set to be clamped.
So currently, IntVars cannot be readonly, and only classes like Vector2Var can be readonly.
The text was updated successfully, but these errors were encountered:
Monsoonexe
added a commit
to Monsoonexe/ScriptableObject-Architecture
that referenced
this issue
Feb 7, 2021
fixesDanielEverland#140
if(IsClampable) -> if(_isClamped.boolValue)
fixesDanielEverland#141
now invokes Raise event when value changed in Inspector
Adds a "Raise" button to invoke event.
I believe there is a bug with VariableReferences where the Readonly property never shows when appropriate. The code in BaseVariableEditor says to return if the variable "IsClampable". I believe this should be changed to "_isClamped.boolValue".
I believe the intention is that some instances of an variable (say an IntVar) can be readonly, and some other instances can be set as not readonly. The current behaviour is that if something is clampable (like an IntVar), then it cannot be readonly, instead of if the variable is currently set to be clamped.
So currently, IntVars cannot be readonly, and only classes like Vector2Var can be readonly.
The text was updated successfully, but these errors were encountered: