Merge pull request #7630 from CactiChameleon9/master

Fix mention of Godot3's or_lesser for export_range
This commit is contained in:
Matthew
2023-07-09 08:25:31 -04:00
committed by Max Hilbrunner
parent d67a4e9e63
commit a1e5d43fe3
2 changed files with 4 additions and 4 deletions

View File

@@ -207,13 +207,13 @@ Allow floats from -10 to 20 and snap the value to multiples of 0.2.
[Export(PropertyHint.Range, "-10,20,0.2")]
public float Number { get; set; }
If you add the hints "or_greater" and/or "or_lesser" you can go above
If you add the hints "or_greater" and/or "or_less" you can go above
or below the limits when adjusting the value by typing it instead of using
the slider.
.. code-block:: csharp
[Export(PropertyHint.Range, "0,100,1,or_greater,or_lesser")]
[Export(PropertyHint.Range, "0,100,1,or_greater,or_less")]
public int Number { get; set; }
Allow values 'y = exp(x)' where 'y' varies between 100 and 1000