Click or drag to resize

ExpressionParse Method

Parses the expression and returns an Error code.

You can optionally specify names of variables that may appear in the expression with input_names, so that you can bind them when it gets executed.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Error Parse(
	string expression,
	string[] inputNames = null
)

Parameters

expression
Type: SystemString

[Missing <param name="expression"/> documentation for "M:Godot.Expression.Parse(System.String,System.String[])"]

inputNames (Optional)
Type: SystemString
If the parameter is null, then the default value is new string[] {}

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.Expression.Parse(System.String,System.String[])"]

See Also