Can you assign a simple variable directly in Inspector without writing a script?

When i only need to assign a single integer or float i’m writing a script that declares a public float/int/etc and then filling it in the Inspector. Would be nice to just add a float/int/string as a Unity built in component like all that other stuff in the Inspector.

If you mean something like adding a component. Nah you can’t.

yep…like others things but…not.
i really hate the boolean behavior.

Yes and no, you still have to make a script… but if you make a script that inherits from scriptableObject and stores just one variable, then you can make variables in your project folders, it’s a great way to connect all your code.