Beispiel #1
0
    public void Close()
    {
        // rehide everything
        foreach (Transform child in interactableArea.transform)
        {
            child.gameObject.SetActive(false);
        }

        gameObject.SetActive(false);
        IsInvestigating  = false;
        Cursor.lockState = CursorLockMode.Locked;

        Dictionary <string, bool> checkedStage = GetCheckedStage();

        if (checkedStage[currInteractableName])
        {
            priest.IncrementStage();
        }
    }