jondewoo / UnitySlippyMap

A slippy map implementation written in C# for Unity3D
304 stars 110 forks source link

2 Errors in Demo with Unity2018 #39

Open mole84 opened 6 years ago

mole84 commented 6 years ago

There are 2 errors in your demo with Unity2018:

Assets/UnitySlippyMap/Helpers/TextureBogusExtension.cs(39,25): error CS1540: Cannot access protected memberUnityEngine.Texture.Texture()' via a qualifier of type UnityEngine.Texture'. The qualifier must be of typeTextureBogusExtension' or derived from it`

Assets/UnitySlippyMap/Helpers/TextureBogusExtension.cs(39,25): error CS0122:UnityEngine.Texture.Texture()' is inaccessible due to its protection level`

How to fix it?

Echolaitoc commented 6 years ago

You replace the line with _bogusTexture = null;

Seems to be enough to start the demo scene.

bduinatCIMMI commented 5 years ago

I managed to build the package, but the Center button doesn't seems to work, even with a GPS fix on my device, the map stay on the city of Lyon (instead of Quebec City) when I press Center