--------------------------------------------------------------------------------------------------------------------------
| 22 | |
| 23 | //-------------------------------------------------------------------------------------------------------------------------- |
| 24 | void FCogSampleWindow_Team::RenderContent() |
| 25 | { |
| 26 | Super::RenderContent(); |
| 27 | |
| 28 | if (ICogSampleTeamInterface* TeamInterface = Cast<ICogSampleTeamInterface>(GetSelection())) |
| 29 | { |
| 30 | int32 Team = TeamInterface->GetTeam(); |
| 31 | if (ImGui::DragInt("Team", &Team, 0.1f, 0, 10)) |
| 32 | { |
| 33 | TeamInterface->SetTeam(Team); |
| 34 | } |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | #endif //ENABLE_COG |
nothing calls this directly
no test coverage detected