Skip to content

Commit 00c81d5

Browse files
committed
Add get_component singular to manage_gameobject
1 parent b343be3 commit 00c81d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/src/services/tools/manage_gameobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
)
1414
async def manage_gameobject(
1515
ctx: Context,
16-
action: Annotated[Literal["create", "modify", "delete", "find", "add_component", "remove_component", "set_component_property", "get_components"], "Perform CRUD operations on GameObjects and components."],
16+
action: Annotated[Literal["create", "modify", "delete", "find", "add_component", "remove_component", "set_component_property", "get_components", "get_component"], "Perform CRUD operations on GameObjects and components."],
1717
target: Annotated[str,
1818
"GameObject identifier by name or path for modify/delete/component actions"] | None = None,
1919
search_method: Annotated[Literal["by_id", "by_name", "by_path", "by_tag", "by_layer", "by_component"],

0 commit comments

Comments
 (0)