TankMovement.updatePlan C# (CSharp) Méthode

updatePlan() private méthode

Update the plan in a more buffered approach
private updatePlan ( ) : IEnumerator
Résultat IEnumerator
    IEnumerator updatePlan()
    {
        // Always running during gameplay
        while (true)
        {
            this.checkPlan();

            yield return new WaitForSeconds(this.updatePlanBuffer);
        }
    }