예제 #1
0
    private void Update()
    {
        bool isPlayerClose = IsPlayerClose();

        ActiveHint.SetActive(false);
        if (isPlayerClose && IsActivated)
        {
            ActiveHint.SetActive(true);
            if (Input.GetMouseButtonDown(0))
            {
                energyText.ShowFinalText();
                creationSmoke.Play();
                Player.FinalStep();
                Invoke("ShowSecondBot", 3.0f);
                IsActivated = false;
            }
        }
    }