Good day.
When i put such string in my script:
public float currentTime = 0.0f;
Ill see in the Inspector - Current Time 0
Can I have my variable looking as a slider not just a numeric value? Like Intensity or Bias in light properties?
Thanx!
Good day.
When i put such string in my script:
public float currentTime = 0.0f;
Ill see in the Inspector - Current Time 0
Can I have my variable looking as a slider not just a numeric value? Like Intensity or Bias in light properties?
Thanx!
Yes, you can, but you’ll need to write your own inspector script for that (which probably sounds harder than it actually is, though :P):
Thanx mate!