Geeky Localizator
Geeky Assets
$4.99
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
02/28(2019) |
4.99 |
11/20(2024) |
4.99 |
Jump AssetStore
This plugin allows you to setup languages in an easy and interactive way.
List of features
- Single localizator C# class for those who are not interested in editor extension
- Simple and clear editor extension that allows you to create a set of languages. You can modify already created language packs or create new ones.
Technical specifications
The main class that handles the localization features is GeekyRaccoons.Localization.Localizator.cs
To create new localizator instance, follow the example in file: GeekyLocalizator/Demo/DemoLocalizatorWrapper.cs
Editor extension setup
- Create localization pack of JSON type. Json must be of the following structure:
{"langs":[],"keys":[],"values":[{"setOfValues":[]}]}
- Add namespace on the top of your file: using GeekyRaccoons.Localization;
- Create new localizator instance: var localizator = new Localizator(stringWithYourJson);
- Use GetLocal: localizator.GetLocal(“key”, result => Debug.Log(result));
If you have any questions or need help, please email us.