Click or drag to resize

OSHasFeature Method

Returns true 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 Feature Tags documentation for more details.

Note: Tag names are case-sensitive.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static bool HasFeature(
	string tagName
)

Parameters

tagName
Type: SystemString

[Missing <param name="tagName"/> documentation for "M:Godot.OS.HasFeature(System.String)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.OS.HasFeature(System.String)"]

See Also