Beispiel #1
0
    private void Start()
    {
        if (isLocalPlayer)
        {
            if (uiStatus != null)
            {
                uiStatus.InitStatus(maxHP, maxHunger);
            }

            StartCoroutine(ReduceHunger()); //배고픔 감소 시작
            survivorAudio = GetComponent <SurvivorAudio>();
        }
        playerAnimator     = gameObject.GetComponent <Animator>(); //플레이어 애니메이터
        survivorController = GetComponent <SurvivorController>();

        UmbrellaState = false;
    }