I am trying to change Layer Visibility and Opacity during app runtime using a switch on the UI, but nothing changes on the map.
The Layer I am trying to change is added in-editor using the component interface and I am able to change these settings while the game is running and have them reflect on the map. However, when I try to reference the layer in code via the API, nothing changes on the map.
I am referencing the layer using ArcGISMapComponent.View.Map.Layers.At(index)
The layer shows up here and has all of it's data included based on what I set in the editor.
I have also tried adding the layer via scripting at runtime and in that case, No layer was added to the map, though the aforementioned layer list does contain it

