mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fixes scroll text showing in hand
This commit is contained in:
parent
99868b94a8
commit
0448ce8e93
@ -269,9 +269,7 @@ namespace NewHorizons.Builder.Props
|
||||
|
||||
customScroll.SetActive(true);
|
||||
|
||||
// Enable the collider and renderer
|
||||
Delay.RunWhen(
|
||||
() => Main.IsSystemReady,
|
||||
Delay.FireOnNextUpdate(
|
||||
() =>
|
||||
{
|
||||
Logger.LogVerbose("Fixing scroll!");
|
||||
@ -281,8 +279,12 @@ namespace NewHorizons.Builder.Props
|
||||
customScroll.transform.Find("Props_NOM_Scroll/Props_NOM_Scroll_Collider").gameObject.SetActive(true);
|
||||
nomaiWallText.gameObject.GetComponent<Collider>().enabled = false;
|
||||
customScroll.GetComponent<CapsuleCollider>().enabled = true;
|
||||
scrollItem._nomaiWallText.HideImmediate();
|
||||
scrollItem._nomaiWallText._collider.SetActivation(true);
|
||||
scrollItem.SetColliderActivation(true);
|
||||
}
|
||||
);
|
||||
|
||||
conversationInfoToCorrespondingSpawnedGameObject[info] = customScroll;
|
||||
|
||||
return customScroll;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user