dburenok
dburenok

Reputation: 103

Unity boolean not showing up in inspector view

I'm on macOS High Sierra (10.13.3), Unity version 2019.2.17f1 Personal.

When I initialize a boolean, it's supposed to show up in the inspector view of the script. This is not happening. I've tried restarting Unity to no avail. Any idea what I'm doing wrong?

screenshot

Upvotes: 1

Views: 1455

Answers (1)

derHugo
derHugo

Reputation: 90659

As said the settings you are showing us here are the script import settings where you can configure some default references. So here only reference typed fields will be visible.

Your bool field should be serialized as soon as you go to the Inspector of an instance of your script attached to a GameObject or prefab.

Upvotes: 2

Related Questions