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
Branches
Tags
1 merge request!2Feature/update to new VRPawn structure and adding an interaction ray that is also available in shipping builds
......@@ -23,9 +23,9 @@ void FWidgetInteractionModule::ShutdownModule()
void FWidgetInteractionModule::OnWorldTickStart(ELevelTick level_tick, float val)
{
//called every Tick()
auto worlds = GEngine->GetWorldContexts();
//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();
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