fixed spiral prefab changing

This commit is contained in:
FreezeDriedMangoes 2022-06-14 09:03:13 -04:00
parent ee519a24d5
commit eb54b8dcd0

View File

@ -364,6 +364,17 @@ namespace NewHorizons.Utility.DebugMenu
//var wallTextComponent = conversationZone.GetComponent<NomaiWallText>();
//foreach(NomaiTextLine l in wallTextComponent._textLines) GameObject.Destroy(l.gameObject);
//NomaiTextBuilder.RefreshArcs(wallTextComponent, conversationZone, spiralMeta.conversation);
foreach(NomaiTextLine line in wallTextComponent._textLines)
{
line.GetComponent<NomaiTextLine>()._active = true;
line.GetComponent<NomaiTextLine>().SetTranslatedState(true);
line.GetComponent<NomaiTextLine>().SetTranslatedState(false);
}
//spiralMeta.spiralGo.GetComponent<NomaiTextLine>()._active = true;
//spiralMeta.spiralGo.GetComponent<NomaiTextLine>().SetTranslatedState(true);
////wallTextComponent.ShowImmediate();
Locator.GetPlayerBody().gameObject.GetComponentInChildren<DebugArrow>().target = spiralMeta.spiralGo.transform;
}