示例#1
0
    public void SetSupport(string strSupporterName)
    {
        DLG_CreateChar dLG_CreateChar = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.NEW_CREATECHAR_DLG) as DLG_CreateChar;

        if (dLG_CreateChar != null)
        {
            dLG_CreateChar.SetCharacterCustomNext(strSupporterName);
        }
        this.OnClose();
    }
示例#2
0
    private void _OnCreateChar(object obj)
    {
        TsLog.LogWarning("_OnCreateChar", new object[0]);
        DLG_CreateChar dLG_CreateChar = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.NEW_CREATECHAR_DLG) as DLG_CreateChar;

        dLG_CreateChar.SetCharKind(this.m_CreateTribeType);
        Button expr_34 = dLG_CreateChar._Back;

        expr_34.Click = (EZValueChangedDelegate)Delegate.Combine(expr_34.Click, new EZValueChangedDelegate(this._OnCreateCharToSelectBack));
        dLG_CreateChar.SetLocation(GUICamera.width - dLG_CreateChar.GetSizeX() - 10f, 0f);
    }