WanderState.UpdateState C# (CSharp) Method