| 388 | } |
| 389 | |
| 390 | bool ManagedEditor::HasGameViewportFocus() const |
| 391 | { |
| 392 | bool result = false; |
| 393 | if (HasManagedInstance()) |
| 394 | { |
| 395 | if (Internal_HasGameViewportFocus == nullptr) |
| 396 | { |
| 397 | Internal_HasGameViewportFocus = GetClass()->GetMethod("Internal_HasGameViewportFocus"); |
| 398 | ASSERT(Internal_HasGameViewportFocus); |
| 399 | } |
| 400 | result = MUtils::Unbox<bool>(Internal_HasGameViewportFocus->Invoke(GetManagedInstance(), nullptr, nullptr)); |
| 401 | } |
| 402 | return result; |
| 403 | } |
| 404 | |
| 405 | void ManagedEditor::FocusGameViewport() const |
| 406 | { |
nothing calls this directly
no test coverage detected