import omni.ext
from ..bindings._omni_kit_procedural_mesh import *
from .menu import *


class PublicExtension(omni.ext.IExt):
    def on_startup(self):
        self._interface = acquire_interface()
        self._menu = Menu()

    def on_shutdown(self):
        self._menu.on_shutdown()
        self._menu = None
        release_interface(self._interface)
