MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / save

Method save

unity_cli/api/scene.py:74–86  ·  view source on GitHub ↗

Save current scene. Args: path: Path to save scene to (optional) Returns: Dictionary with operation result

(self, path: str | None = None)

Source from the content-addressed store, hash-verified

72 return self._conn.send_request("scene", params)
73
74 def save(self, path: str | None = None) -> dict[str, Any]:
75 """Save current scene.
76
77 Args:
78 path: Path to save scene to (optional)
79
80 Returns:
81 Dictionary with operation result
82 """
83 params: dict[str, Any] = {"action": "save"}
84 if path:
85 params["path"] = path
86 return self._conn.send_request("scene", params)

Calls 1

send_requestMethod · 0.80