Ejemplo n.º 1
0
        IEnumerator StartPlayerAfterServer()
        {
            yield return(new WaitForSecondsRealtime(9f));

            SetPlayerFov(false);
            if (playerType != PlayerType.crewmate)
            {
                SetImpostorsName();
                taskAction += ImpostorUpdate;
            }

            PlayerStaticVars.state = clientState.showingGameplay;
            Debug.Log(playerTasks.Count + " tasks");
            foreach (Task task in playerTasks)
            {
                minimap.AddTaskToMinimap(task);
            }
        }