kellergemeinde / game_towerdefense

Towerdefense Minigame
Apache License 2.0
18 stars 2 forks source link

Introducing LocalizationManager + simple Text Editor for Localization Files #110

Closed vinerich closed 6 years ago

vinerich commented 6 years ago

Summary This PR fixes/implements the following Localization: Manager

LocalizationData Class: -holding the data to make it serializeable LocalizationManager Class: -providing bool IsReady for showing first load on startup -initializes with Awake() and holding the first instance of himself -is persistent through scenes -can load and store LocalizedTextData from JSON Files -returns value to a provided key

LocalizedTextEditor Class: -providing a simple integrated text editor for the JSON data -Load / Save / New

Is not providing a default structure for keys Specification is JSON

References Fixes #105