mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
doc
This commit is contained in:
parent
12a114d4a0
commit
4877af788a
@ -94,6 +94,7 @@ namespace NewHorizons.Components.Quantum
|
|||||||
// faster than full CheckVisibility
|
// faster than full CheckVisibility
|
||||||
var visibility = CheckVisibilityInstantly();
|
var visibility = CheckVisibilityInstantly();
|
||||||
var playerInside = CheckPointInside(Locator.GetPlayerCamera().transform.position);
|
var playerInside = CheckPointInside(Locator.GetPlayerCamera().transform.position);
|
||||||
|
// does not check probe, but thats okay
|
||||||
|
|
||||||
var notEntangledCheck = illumination ? visibility : playerInside;
|
var notEntangledCheck = illumination ? visibility : playerInside;
|
||||||
var isVisible = isPlayerEntangled ? illumination : notEntangledCheck;
|
var isVisible = isPlayerEntangled ? illumination : notEntangledCheck;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user