Esempio n. 1
0
    public void Init(RoleSelectPanel parent, Data.RoleInfoLite roleInfoLite)
    {
        _parent       = parent;
        _roleInfoLite = roleInfoLite;

        var serverInfo = parent.GetServerInfo(_roleInfoLite.serverId);

        roleInfoText.text = string.Format("{0} {1}({3})", _roleInfoLite.roleName, _roleInfoLite.roleLevel, _roleInfoLite, serverInfo.serverName);
    }
Esempio n. 2
0
    public void SelectRole(Data.RoleInfoLite roleInfoLite)
    {
        _selectedRole = roleInfoLite;

        SelectServer(roleInfoLite.serverId);
    }