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.Handlers;
|
||||||
using NewHorizons.Utility;
|
using NewHorizons.Utility;
|
||||||
using OWML.Common;
|
using OWML.Common;
|
||||||
|
using OWML.Utils;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Xml;
|
using System.Xml;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using Enum = System.Enum;
|
|
||||||
using Logger = NewHorizons.Utility.Logger;
|
using Logger = NewHorizons.Utility.Logger;
|
||||||
using Random = UnityEngine.Random;
|
using Random = UnityEngine.Random;
|
||||||
using OWML.Utils;
|
|
||||||
|
|
||||||
namespace NewHorizons.Builder.Props
|
namespace NewHorizons.Builder.Props
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Legacy - this class is used with the deprecated "nomaiText" module (deprecated on release of autospirals)
|
/// Legacy - this class is used with the deprecated "nomaiText" module (deprecated on release of autospirals)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Obsolete]
|
||||||
public static class NomaiTextBuilder
|
public static class NomaiTextBuilder
|
||||||
{
|
{
|
||||||
private static List<GameObject> _arcPrefabs;
|
private static List<GameObject> _arcPrefabs;
|
||||||
|
|||||||
@ -126,6 +126,7 @@ namespace NewHorizons.Builder.Props
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Backwards compatibility
|
||||||
#pragma warning disable 612, 618
|
#pragma warning disable 612, 618
|
||||||
if (config.Props.nomaiText != null)
|
if (config.Props.nomaiText != null)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -274,7 +274,11 @@ namespace NewHorizons
|
|||||||
GeometryBuilder.InitPrefab();
|
GeometryBuilder.InitPrefab();
|
||||||
GeyserBuilder.InitPrefab();
|
GeyserBuilder.InitPrefab();
|
||||||
LavaBuilder.InitPrefabs();
|
LavaBuilder.InitPrefabs();
|
||||||
|
|
||||||
|
// Backwards compat
|
||||||
|
#pragma warning disable 612, 618
|
||||||
NomaiTextBuilder.InitPrefabs();
|
NomaiTextBuilder.InitPrefabs();
|
||||||
|
#pragma warning restore 612, 618
|
||||||
TranslatorTextBuilder.InitPrefabs();
|
TranslatorTextBuilder.InitPrefabs();
|
||||||
RemoteBuilder.InitPrefabs();
|
RemoteBuilder.InitPrefabs();
|
||||||
SandBuilder.InitPrefabs();
|
SandBuilder.InitPrefabs();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user