docs.unity3d.com
    Show / Hide Table of Contents

    Class GoQLExecutor

    This class is responsible for taking GoQL source code and evaluating it.

    Inheritance
    Object
    GoQLExecutor
    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[]
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023