Hot answers tagged

1

As @Zibelas suggests I think what you're looking for is saving and loading a value and an easy way to do that is by using PlayerPrefs. When pausing or OnApplicationQuit() PlayerPrefs.SetInt($"{bookName}", currentWordIndex); when loading book currentWordIndex = PlayerPrefs.GetInt($"{bookName}", 5);


1

I did a brief implementation of a 9 slicer in Pygame, but the same ideas should be easily applicable in any capable rendering framework since it's the ideas here that are the key. This implementation always preserves the size of the corner pieces, and the height of the top and middle slices, and the width of the left and right slices. Holes are filled by ...


Only top voted, non community-wiki answers of a minimum length are eligible