navigation

(Unity) Correct implementation of the NavMeshAgent collision

There is a list of NavMeshAgents that go to a single point when clicked. The agent settings are standard. When they try to ge ... .x + Random.Range(-2, 2), targetPosition.y + Random.Range(-2, 2), targetPosition.z); agent.destination = MathPosition; }

Back arrow | Kotlin | Android

I have 2 activities. After switching from the first to the second, I want to display a back arrow in the AppBarLayout, which ... tivity. How do I do this? P. s: I need this because the back button toggles my menu, which is located in the activity itself.