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
Why did I report an error "The type or namespace name 'ArcGISLocationComponent' could not be found"😭
Add using Esri.ArcGISMapsSDK.Components;
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.