easyar_create_mono_behaviour
Generates a Unity C# MonoBehaviour template with predefined EasyAR behaviors for image tracking, surface placement, cloud recognition, or lifecycle management.
Instructions
Create a Unity C# MonoBehaviour template for common EasyAR sample development tasks.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPath": "<projectPath>",
"relativePath": "<relativePath>",
"className": "<className>",
"kind": "<kind>"
},
"name": "easyar_create_mono_behaviour"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Unity project path. | |
| relativePath | Yes | Relative .cs path inside the Unity project, for example Assets/Scripts/ImageTargetContentController.cs. | |
| className | Yes | C# class name. | |
| kind | Yes | Template kind to generate. | |
| overwrite | No | Whether to replace an existing script. |