Skip to content

Commit

Permalink
reduntant typing context removal
Browse files Browse the repository at this point in the history
line 791, removing 2 "type" which is already contextually clear

Co-authored-by: A Thousand Ships <[email protected]>
  • Loading branch information
ArceusMaxis and AThousandShips authored Aug 26, 2024
1 parent f4ffb12 commit d89c5ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/shaders/shader_reference/shading_language.rst
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ You can access ``int`` values as a readable dropdown widget using the ``hint_enu
uniform int noise_type : hint_enum("OpenSimplex2", "Cellular", "Perlin", "Value") = 0;
.. note:: Unlike ``@export_enum`` in GDScript, the ``hint_enum`` uniform does not support
the use of ``String`` type, it only supports ``int`` type.
the use of ``String``s, it only supports ``int``s.
You can assign explicit values to the ``hint_enum`` uniform using colon syntax similar to GDScript:

Expand Down

0 comments on commit d89c5ca

Please sign in to comment.