When using the ArcGIS Location Component I can see the latitude and longitude in the inspector window. However, how do I access these values from script? I'd like to know the current position of the player.
GO.GetComponent<ArcGISLocationComponent>().Position.X or Y
Add using Esri.ArcGISMapsSDK.Components;
Why did I report an error "The type or namespace name 'ArcGISLocationComponent' could not be found"😭
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.