Table of Contents

Class CustomToolDescriptor

[Serializable]
public class CustomToolDescriptor
Inheritance
object
CustomToolDescriptor

Fields

CachedMethod

[NonSerialized]
public MethodInfo CachedMethod

Field Value

MethodInfo

CachedParams

[NonSerialized]
public ParameterInfo[] CachedParams

Field Value

ParameterInfo[]

CompiledDelegate

[NonSerialized]
public Delegate CompiledDelegate

Field Value

Delegate

Properties

Description

Optional description of the tool.

public string Description { get; }

Property Value

string

MethodName

The method name to invoke on the target MonoBehaviour.

public string MethodName { get; }

Property Value

string

Parameters

Optional parameter metadata (for editor UI, docs, etc.).

public List<JsonSchemaProperty> Parameters { get; }

Property Value

List<JsonSchemaProperty>

Target

The MonoBehaviour target where the method exists.

public MonoBehaviour Target { get; }

Property Value

MonoBehaviour

ToolName

The tool name exposed to the model.

public string ToolName { get; }

Property Value

string