Best practice for disabling cursor functions .. Inventory / Camera movement
Hello there, I am starting a simple(ish) script for disabling the NavMesh or even perhaps another method for camera rotation and inventory usage.
This is for a Mobile Platform.
I am curious to the best practice to achieve this;
Camera can be moved around by the player, if the camera is moved the 'click to move' function needs to cease to operate (so they don't move when they rotate or pinch zoom the camera). Identical needs (but much easier to ignore raycast) for the GUI.
Should I disable the navmesh based on the cameras current vector3? should i store the pointer position on every update? (seems more stable but much more expensive). Is there another option I am missing?
Any assistance would be appreciated :)
Your answer
![](https://koobas.hobune.stream/wayback/20220612075130im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Third person look around camera, jagged results 0 Answers
Maximum Camera Angle Rotation 0 Answers
How to recreate the Silent Hill 1 camera style? 0 Answers
uNet FPS Camera Error [C#] [Unity 5] 2 Answers
How to LookAt things when using Google Cardboard SDK? 1 Answer