/// <summary>
 /// Retrieves the <see cref="GameSettingsAsset"/> from the <see cref="PackageSession.CurrentPackage"/> of the given session if available,
 /// or a new default instance otherwise.
 /// </summary>
 /// <param name="session">The package session from which to retrieve the game settings.</param>
 /// <returns>The <see cref="GameSettingsAsset"/> from the given session if available. A new default instance otherwise.</returns>
 private static GameSettingsAsset GetGameSettingsAssetOrDefault(this PackageSession session)
 {
     return(session.CurrentPackage?.GetGameSettingsAsset() ?? GameSettingsFactory.Create());
 }