I'm using:
and it more or less works but it feels clunky and I'm a bit worried about the 100 ms sleep hitting the nav server too often.
Is there a better way?
Code:
while (await CommonTasks.ExecuteCoroutine(CommonBehaviors.MoveAndStop(ret => Location, 5f, true, null, RunStatus.Failure))) {
await (Coroutine.Sleep(100));
}
and it more or less works but it feels clunky and I'm a bit worried about the 100 ms sleep hitting the nav server too often.
Is there a better way?