/language-switching-unity

A program that allows easy language switching in Unity game development by reading and writing language data from/to CSV files.

Primary LanguageC#MIT LicenseMIT

Unity Game Language Switcher

This program allows you to perform language switching in games developed with Unity. It enables you to read language data from CSV files and write it back to CSV files.

Features

  • Read language data from CSV files.
  • Write language data to CSV files.

Usage

Setting the language is simple. Just modify the lang.language property of the DB_Language class.

For example:

DB_Language lang;
lang.language = eLanguage.code.zhTW;

To switch languages, you can load the original text and perform the language switch.

For example:

DB_Language lang;
var result = lang.GetText("text");

License

This project is licensed under the MIT License.