You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
14 lines
301 B
C++
14 lines
301 B
C++
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "LevelSequenceDirector.h"
|
|
#include "Engine/World.h"
|
|
|
|
UWorld* ULevelSequenceDirector::GetWorld() const
|
|
{
|
|
if (ULevel* OuterLevel = GetTypedOuter<ULevel>())
|
|
{
|
|
return OuterLevel->OwningWorld;
|
|
}
|
|
return GetTypedOuter<UWorld>();
|
|
}
|