Commonly used Script APIs


I2 Localization provide easy ways to access the localization data.


To avoid clashing with other classes in your project, all classes and editors have been moved into the I2.Loc namespace.


That way, to access any i2 Localization class, the "I2.Loc" prefix should be added. (e.g. instead of LocalizationManager.CurrentLanguage, you should write I2.Loc.LocalizationManager.CurrentLanguage).


Alternatively, all scripts accessing the I2 Localization classes could have the following line at the beggining of the file:

using I2.Loc;


And then, there is no need to add I2.Loc in front of the classes, which makes the code easier to read and more understandable.

Created with the Personal Edition of HelpNDoc: Full-featured Help generator