Class GoQLExecutor
This class is responsible for taking GoQL source code and evaluating it.
Namespace: Unity.GoQL
Syntax
public class GoQLExecutor
Fields
parseResult
The result of parsing the Code property.
Declaration
public ParseResult parseResult
Field Value
Type | Description |
---|---|
ParseResult |
Properties
Code
The GoQL source code to be executed.
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
String |
Error
An error message for the user if the Code property could not be parsed.
Declaration
public string Error { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
Execute()
Execute the query and return the array of matching objects.
Declaration
public GameObject[] Execute()
Returns
Type | Description |
---|---|
GameObject[] |