public override void Set(object args) { if (args == null) { return; } WarningWindowArgs argRecv = args as WarningWindowArgs; confirmFunc = argRecv.confirmFunc; InitUI(argRecv); }
private void InitUI(WarningWindowArgs argRecv) { //message.text = LanguageManager.Instance.GetCommonLanguageString(argRecv.stringKey); message.text = GlobalLocalisation.GetText(argRecv.stringKey); }