Hello all,
In the past have successfully loaded ArcGIS3DObjectSceneLayers through .slpks from my project's PersistentDataPath. The simple script I created to load these in my scenes looks like so:
try
{
var buildingLayer = new Esri.GameEngine.Layers.ArcGIS3DObjectSceneLayer(
Application.persistentDataPath + "/file_name.slpk",
"Layer Name", 1.0f, true, "");
arcGISMapComponent.View.Map.Layers.Add(buildingLayer);
Debug.Log("Building Layer loaded successfully.");
}
catch (Exception ex)
{
Debug.LogError($"Error loading Building Layer: {ex.Message}");
} I was curious if it would be possible to do this with indoors data served through an .slpk in my PersistentDataPath? Or if the Unity SDK is incapable of handling indoors data?
Thank you in advance!
- Nick