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

Function get_platform_paths

unity_cli/hub/paths.py:105–110  ·  view source on GitHub ↗

Get platform-specific Unity paths.

()

Source from the content-addressed store, hash-verified

103
104@lru_cache(maxsize=1)
105def get_platform_paths() -> PlatformPaths:
106 """Get platform-specific Unity paths."""
107 return PlatformPaths(
108 hub_cli=locate_hub_cli(),
109 editor_base=_get_platform_editor_base(),
110 )
111
112
113def get_installed_editors() -> list[InstalledEditor]:

Callers 1

get_installed_editorsFunction · 0.85

Calls 3

PlatformPathsClass · 0.85
locate_hub_cliFunction · 0.85

Tested by

no test coverage detected