예제 #1
0
    public void Execute()
    {
        Walk();

        locatorTimer += Time.deltaTime;
        if (locatorTimer > difficultyUtils.locateAfter)
        {
            enemy.LocatePlayer();
            locatorTimer = 0;
        }
        enemy.Move();
    }