Closed newcreativegamer closed 4 years ago
Hi! Thanks for the kind words about the package. It is related to Json.Net not working properly with API compatibility level 2.0. So, I updated it to NET 4.x in ProjectSettings and pushed. The build works for me. If you have time to give it a try, please let me know how it goes.
Hi, That's fixed it! Fantastic, thank you. Appreciate the speedy response also :)
This is a little off-topic, but how would I go about making the map the width of the screen when left-to-right and not scroll?
Alan.
Nice!
Width of the screen when left to right: You can make the map more condensed in the MapConfig in your Assets folder. Set distanceFromPreviousLayer on all layers to something smaller so that the entire map fits onto the screen.
This code in MapView.cs adds a scrolling component to the map. You can just remove it:
var scrollNonUi = mapParent.AddComponent<ScrollNonUI>();
scrollNonUi.freezeX = orientation == MapOrientation.BottomToTop || orientation == MapOrientation.TopToBottom;
scrollNonUi.freezeY = orientation == MapOrientation.LeftToRight || orientation == MapOrientation.RightToLeft;
That's perfect, thank you!
Hi!
Can I lead by saying I love this map and thank you for sharing it!
So, I'm having an issue when I build it for Windows and run the built file; it works fine in the editor. Seems to be related to json Serialize:
Any guidance would be great. Stacktrace below: