/// <summary> /// Checks whether this application is a game. /// /// Returns true if a normal or PIE game is active (basically !GIsEdit or || GIsPlayInEditorWorld) /// This must NOT be accessed on threads other than the game thread! /// Use View->Family->EnginShowFlags.Game on the rendering thread. /// </summary> /// <returns>true if the application is a game, false otherwise.</returns> public static bool IsGame() { return(Native_FApp.IsGame()); }