Merge pull request #2844 from Calinou/clarify-gdscript-export-step

Clarify how the "step" value behaves in GDScript exports
This commit is contained in:
Rémi Verschelde
2019-10-29 09:14:24 +01:00
committed by GitHub

View File

@@ -92,7 +92,7 @@ Examples
export(int, 20) var i
# Allow integer values from -10 to 20.
export(int, -10, 20) var j
# Allow floats from -10 to 20, with a step of 0.2.
# Allow floats from -10 to 20 and snap the value to multiples of 0.2.
export(float, -10, 20, 0.2) var k
# Allow values 'y = exp(x)' where 'y' varies between 100 and 1000
# while snapping to steps of 20. The editor will present a