Example #1
0
    public void OnPlayerInteract(GameObject player)
    {
        Debug.Log(piManager.playerCount);
        if (playerNum == piManager.playerCount)
        {
            piManager.DisableJoining();
            tutManager.TurnOnDepartureWarning();
            tutManager.DeleteAllTut();

            //departure animation
            PlayerData.isPlayingCutscene = true;
            StartCoroutine("DepartureAnimation");
        }
    }