Skip to content
Snippets Groups Projects
Commit b1e586a3 authored by Jonathan Ehret's avatar Jonathan Ehret
Browse files

add a comment for the tick as required by Simon

parent 1c7f79af
No related branches found
No related tags found
1 merge request!2Feature/update to new VRPawn structure and adding an interaction ray that is also available in shipping builds
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
...@@ -23,8 +23,8 @@ void FWidgetInteractionModule::ShutdownModule() ...@@ -23,8 +23,8 @@ void FWidgetInteractionModule::ShutdownModule()
void FWidgetInteractionModule::OnWorldTickStart(ELevelTick level_tick, float val) void FWidgetInteractionModule::OnWorldTickStart(ELevelTick level_tick, float val)
{ {
//called every Tick() //since OnWorldTickStart is called independent of the world/level we are in,
//we need to check whether the level changed and, if so, reattach the interaction component
auto worlds = GEngine->GetWorldContexts(); auto worlds = GEngine->GetWorldContexts();
for (auto world_context : worlds) { for (auto world_context : worlds) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment