cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to get custom public variable in OVR script and view in editor.

Jepplen
Explorer

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 1

Jepplen
Explorer

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!