提交修改
This commit is contained in:
@@ -7,4 +7,13 @@
|
||||
{
|
||||
public uint Key { get; }
|
||||
}
|
||||
|
||||
public interface IConfigItemTable
|
||||
{
|
||||
public string Model { get; }
|
||||
|
||||
public string Quality { get; }
|
||||
|
||||
public string Icon { get; }
|
||||
}
|
||||
}
|
||||
@@ -21,6 +21,17 @@ namespace NBC
|
||||
}
|
||||
|
||||
public static ILanguage Text => Inst.GetLanguageModule((int)LanguageModuleType.Text);
|
||||
|
||||
public static string Get(string key)
|
||||
{
|
||||
return Text.Get(key);
|
||||
}
|
||||
|
||||
public static string Get(string key, params object[] args)
|
||||
{
|
||||
var format = string.Format(Text.Get(key), args);
|
||||
return format;
|
||||
}
|
||||
|
||||
public static void SetLanguage(this GObject child, string key, params object[] args)
|
||||
{
|
||||
|
||||
@@ -227,6 +227,10 @@ namespace FairyGUI
|
||||
{
|
||||
if (index >= 0 && index <= _children.Count)
|
||||
{
|
||||
if (child == null)
|
||||
{
|
||||
|
||||
}
|
||||
if (child.parent == this)
|
||||
{
|
||||
SetChildIndex(child, index);
|
||||
|
||||
Reference in New Issue
Block a user