Forum Discussion
Jepplen
4 years agoExpert Protege
Unable to get custom public variable in OVR script and view in editor.
Hi,
I know how to get a public variable to show in the editor. (no biggie right)
And there is of course no problem to do this to customize OVR scripts.
But... in some OVR scripts this is not possible, but no problem in many of them.
I can customize the script and send variables and data from other scripts.
But I can't find a way to set a public or serialized variable to show up in the editor.
What the fudge am I missing?
It's driving me nuts!
I have tried:
public bool isAlive;
[SerializeField]
private bool _isAlive;
I have even tried placing them between the scripts original public variables.
Nothing in the editor...
1 Reply
Replies have been turned off for this discussion
- JepplenExpert Protege
Ok, so I found that the monobehaviour script was connected to an Editor script that needed a reference to the public variable.
First time for everything.
Hope it helps someone!
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 10 months ago
- 10 months ago