EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Method FindMacroByPath

    FindMacroByPath(string)

    Finds a macro by its path. Returns null if not found.

    Declaration
    IMacroAccessor FindMacroByPath(string path)
    Parameters
    Type Name Description
    string path

    The path of the macro, either absolute or relative.

    Returns
    Type Description
    IMacroAccessor

    The macro at the specified path, or null if not found.

    Examples
    var macro = AuraTree.FindBehaviorTreeByPath("MyProject/Macros/Macro1");
    if (macro != null)
    {
        Log.Info("Macro found!");
    }
    else
    {
        Log.Info("Macro not found.");
    }
    2025 © Xab3r. All rights reserved.