-
Notifications
You must be signed in to change notification settings - Fork 54
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
ReadonlyFieldItem null checks #10
Comments
Sorry for my late reply... Regarding the null output, I want to think more about it because uREPL cannot distinguish below scenarios: $ var obj = GameObject.Find("Cube");
> null $ object obj;
> null
$ obj; // user wants to check obj is null or not.
> null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
ReadonlyFieldItem class require additional null check. Something like:
protected set { valueText.text = value==null ? "Null" : value.ToString(); }
Got error with null reference exception if field is unassigned.
And if it possible do not display null message in console at Window.OnSubmit() if result.type == CompileResult.Type.Success
And of course big thanks for asset.
The text was updated successfully, but these errors were encountered: