예제 #1
0
    public void AcceptContract()
    {
        _acceptedIcon.gameObject.SetActive(true);
        Sequence sequence = DOTween.Sequence();

        sequence.Insert(0.1f, _acceptedIcon.DOFade(1.0f, 0.5f));
        sequence.Insert(0.1f, _acceptedIcon.rectTransform.DOScale(new Vector3(1, 1, 1), 0.5f));

        sequence.OnComplete(() =>
        {
            StartCoroutine("SetDelay");
        });
        _acceptedContract = _contractManager.getCurrentContract();
        AnalyseContract();
    }