static void CreateW() { if (window_inst == null) { window_inst = ScriptableWizard.DisplayWizard <ucInteractivePTEditorWindow>("Baker", "Yes", "Cancel"); window_inst.autoRepaintOnSceneChange = true; } window_inst.Focus(); }
void OnDestroy() { if (dll_function_caller != null) { dll_function_caller.Release(); } window_inst = null; }