| 450 | } |
| 451 | |
| 452 | Window* ManagedEditor::GetGameWindow(bool forceGet) |
| 453 | { |
| 454 | if (HasManagedInstance()) |
| 455 | { |
| 456 | if (Internal_GetGameWinPtr == nullptr) |
| 457 | { |
| 458 | Internal_GetGameWinPtr = GetClass()->GetMethod("Internal_GetGameWinPtr", 2); |
| 459 | ASSERT(Internal_GetGameWinPtr); |
| 460 | } |
| 461 | Window* win = nullptr; |
| 462 | void* params[2]; |
| 463 | params[0] = &forceGet; |
| 464 | params[1] = &win; |
| 465 | Internal_GetGameWinPtr->Invoke(GetManagedInstance(), params, nullptr); |
| 466 | return win; |
| 467 | } |
| 468 | return nullptr; |
| 469 | } |
| 470 | |
| 471 | Float2 ManagedEditor::GetGameWindowSize() |
| 472 | { |
no test coverage detected