コード例 #1
0
ファイル: IWalkState.cs プロジェクト: SukritJBaruah/Fighter-Z
    public void Execute()
    {
        Walk();

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