| 330 | } |
| 331 | |
| 332 | Window* ManagedEditor::GetMainWindow() |
| 333 | { |
| 334 | ASSERT(HasManagedInstance()); |
| 335 | const auto method = GetClass()->GetMethod("GetMainWindowPtr"); |
| 336 | ASSERT(method); |
| 337 | return (Window*)MUtils::Unbox<void*>(method->Invoke(GetManagedInstance(), nullptr, nullptr)); |
| 338 | } |
| 339 | |
| 340 | bool ManagedEditor::CanReloadScripts() |
| 341 | { |
no test coverage detected