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

Method get_default

relay/instance_registry.py:372–376  ·  view source on GitHub ↗

Get the default instance

(self)

Source from the content-addressed store, hash-verified

370 return self._instances.get(instance_id)
371
372 def get_default(self) -> UnityInstance | None:
373 """Get the default instance"""
374 if self._default_instance_id:
375 return self._instances.get(self._default_instance_id)
376 return None
377
378 def set_default(self, instance_id: str) -> bool:
379 """Set the default instance"""

Calls 1

getMethod · 0.45