Changes to OS.has_feature() docs:

- Added link to the Feature Tags documentation
 - Added note that tag names are case-sensitive

(cherry picked from commit 349e924cad)
This commit is contained in:
Ken Paulson 2019-06-05 15:53:55 -04:00 committed by Rémi Verschelde
parent 26e25a8c1b
commit d05f673669
1 changed files with 2 additions and 1 deletions

View File

@ -504,7 +504,8 @@
<argument index="0" name="tag_name" type="String"> <argument index="0" name="tag_name" type="String">
</argument> </argument>
<description> <description>
Returns [code]true[/code] if the feature for the given feature tag is supported in the currently running instance, depending on platform, build etc. Can be used to check whether you're currently running a debug build, on a certain platform or arch, etc. See feature tags documentation. Returns [code]true[/code] if the feature for the given feature tag is supported in the currently running instance, depending on platform, build etc. Can be used to check whether you're currently running a debug build, on a certain platform or arch, etc. Refer to the [url=https://docs.godotengine.org/en/latest/getting_started/workflow/export/feature_tags.html]Feature Tags[/url] documentation for more details.
Note that tag names are case-sensitive.
</description> </description>
</method> </method>
<method name="has_touchscreen_ui_hint" qualifiers="const"> <method name="has_touchscreen_ui_hint" qualifiers="const">