Пример #1
0
    //조준 실행
    private void FineSight()
    {
        isFineSightMode = !isFineSightMode;
        currentGun.anim.SetBool("FineSightMode", isFineSightMode);
        IsAnimState = "finesight";
        theCrosshair.DontAminationInWater(IsAnimState, isFineSightMode);

        if (isFineSightMode)
        {
            StopAllCoroutines();
            StartCoroutine(FineSightActivateCoroutine());
        }
        else
        {
            StopAllCoroutines();
            StartCoroutine(FineSightNon_ActivateCoroutine());
        }
    }