mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Deprecate NomaiTextBuilder class
This commit is contained in:
parent
8481dd8021
commit
20532b83ac
@ -2,21 +2,22 @@ using NewHorizons.External.Modules;
|
||||
using NewHorizons.Handlers;
|
||||
using NewHorizons.Utility;
|
||||
using OWML.Common;
|
||||
using OWML.Utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Xml;
|
||||
using UnityEngine;
|
||||
using Enum = System.Enum;
|
||||
using Logger = NewHorizons.Utility.Logger;
|
||||
using Random = UnityEngine.Random;
|
||||
using OWML.Utils;
|
||||
|
||||
namespace NewHorizons.Builder.Props
|
||||
{
|
||||
/// <summary>
|
||||
/// Legacy - this class is used with the deprecated "nomaiText" module (deprecated on release of autospirals)
|
||||
/// </summary>
|
||||
[Obsolete]
|
||||
public static class NomaiTextBuilder
|
||||
{
|
||||
private static List<GameObject> _arcPrefabs;
|
||||
|
||||
@ -126,6 +126,7 @@ namespace NewHorizons.Builder.Props
|
||||
}
|
||||
}
|
||||
}
|
||||
// Backwards compatibility
|
||||
#pragma warning disable 612, 618
|
||||
if (config.Props.nomaiText != null)
|
||||
{
|
||||
|
||||
@ -274,7 +274,11 @@ namespace NewHorizons
|
||||
GeometryBuilder.InitPrefab();
|
||||
GeyserBuilder.InitPrefab();
|
||||
LavaBuilder.InitPrefabs();
|
||||
|
||||
// Backwards compat
|
||||
#pragma warning disable 612, 618
|
||||
NomaiTextBuilder.InitPrefabs();
|
||||
#pragma warning restore 612, 618
|
||||
TranslatorTextBuilder.InitPrefabs();
|
||||
RemoteBuilder.InitPrefabs();
|
||||
SandBuilder.InitPrefabs();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user