mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
added getters for arcPrefabs
This commit is contained in:
parent
01fe2ffb24
commit
478805835f
@ -12,9 +12,9 @@ namespace NewHorizons.Builder.Props
|
|||||||
{
|
{
|
||||||
public static class NomaiTextBuilder
|
public static class NomaiTextBuilder
|
||||||
{
|
{
|
||||||
internal static List<GameObject> _arcPrefabs;
|
private static List<GameObject> _arcPrefabs;
|
||||||
internal static List<GameObject> _childArcPrefabs;
|
private static List<GameObject> _childArcPrefabs;
|
||||||
internal static List<GameObject> _ghostArcPrefabs;
|
private static List<GameObject> _ghostArcPrefabs;
|
||||||
private static GameObject _scrollPrefab;
|
private static GameObject _scrollPrefab;
|
||||||
private static GameObject _computerPrefab;
|
private static GameObject _computerPrefab;
|
||||||
private static GameObject _cairnPrefab;
|
private static GameObject _cairnPrefab;
|
||||||
@ -36,6 +36,9 @@ namespace NewHorizons.Builder.Props
|
|||||||
return conversationInfoToCorrespondingSpawnedGameObject[convo];
|
return conversationInfoToCorrespondingSpawnedGameObject[convo];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static List<GameObject> GetArcPrefabs() { return _arcPrefabs; }
|
||||||
|
public static List<GameObject> GetChildArcPrefabs() { return _childArcPrefabs; }
|
||||||
|
public static List<GameObject> GetGhostArcPrefabs() { return _ghostArcPrefabs; }
|
||||||
|
|
||||||
private static void InitPrefabs()
|
private static void InitPrefabs()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -465,10 +465,10 @@ namespace NewHorizons.Utility.DebugMenu
|
|||||||
{
|
{
|
||||||
switch(type)
|
switch(type)
|
||||||
{
|
{
|
||||||
case NomaiTextArcInfo.NomaiTextArcType.Stranger: return NomaiTextBuilder._ghostArcPrefabs.Count();
|
case NomaiTextArcInfo.NomaiTextArcType.Stranger: return NomaiTextBuilder.GetGhostArcPrefabs().Count();
|
||||||
case NomaiTextArcInfo.NomaiTextArcType.Child: return NomaiTextBuilder._childArcPrefabs.Count();
|
case NomaiTextArcInfo.NomaiTextArcType.Child: return NomaiTextBuilder.GetChildArcPrefabs().Count();
|
||||||
default:
|
default:
|
||||||
case NomaiTextArcInfo.NomaiTextArcType.Adult: return NomaiTextBuilder._arcPrefabs.Count();
|
case NomaiTextArcInfo.NomaiTextArcType.Adult: return NomaiTextBuilder.GetArcPrefabs().Count();
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user