Example #1
0
    public void handlePlayerSleep()
    {
        taskManager.checkTasks();

        DayNightController.freezeTime();

        recapManager.setInitialConfiguartion();

        recapPlane.gameObject.SetActive(true);
        minimapPanel.gameObject.SetActive(false);
        recapManager.startTyping();

        miiSoundSource.Play();

        playerInControl = false;

        showMouse();

        foreach (Transform child in bed.transform)
        {
            if (child.name.Equals("NextToBed"))
            {
                transform.position = child.position;
            }
        }
    }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     // Allow recap to grab our intiial configurations
     recap.setInitialConfiguartion();
 }