Hide Ana-Lyse's dialogue component when taking photo, also correctly restore a hidden state with the dialogu turned off
This commit is contained in:
@@ -30,7 +30,7 @@ public class cameraSwitcherNailBird : MonoBehaviour
|
||||
|
||||
private void OnTriggerExit2D(Collider2D other)
|
||||
{
|
||||
if (other.CompareTag("Player"))
|
||||
if (other.CompareTag("Player") && gameObject.activeInHierarchy)
|
||||
{
|
||||
playerInsideCount--;
|
||||
if (playerInsideCount == 0 && virtualCamera != null)
|
||||
|
||||
Reference in New Issue
Block a user