返回 Skill 列表
extension
分类: 开发与工程无需 API Key

unity-sample

示例场景生成器和API测试工具。当用户想要生成示例场景、测试API连接性或为学习创建演示对象时使用。触发词:test, sample, hello, ping, demo, example, 示例, Unity测试, Unity演示。

person作者: jakexiaohubgithub

Sample Skills

Basic examples for testing the API.

Guardrails

Mode: Full-Auto required

DO NOT (common hallucinations):

  • Sample skills are basic test/demo skills — do not use them for production work
  • sample_create is a simplified version of gameobject_create — prefer the full gameobject module
  • sample_hello / sample_ping are connectivity test skills only

Routing:

  • For actual GameObject operations → use gameobject module
  • For server health check → use Python helper's unity_skills.health()

Skills

create_cube

Create a cube primitive. Parameters: x, y, z, name

create_sphere

Create a sphere primitive. Parameters: x, y, z, name

delete_object

Delete object by name. Parameters: objectName

find_objects_by_name

Find objects containing string. Parameters: nameContains (name is also accepted as a compatibility alias)

set_object_position

Set object position. Parameters: objectName, x, y, z

set_object_rotation

Set object rotation. Parameters: objectName, x, y, z

set_object_scale

Set object scale. Parameters: objectName, x, y, z

get_scene_info

Get current scene information. Parameters: None.


Exact Signatures

Exact names, parameters, defaults, and returns are defined by GET /skills/schema or unity_skills.get_skill_schema(), not by this file.