예제 #1
0
    private void UpdateRoleBarPos(long uid)
    {
        UIRoleStateBar roleBar = GetRoleBar(uid);

        if (null != roleBar)
        {
            roleBar.UpdatePositon();
        }
    }
예제 #2
0
 private void DoLateUpdateChangePos()
 {
     if (m_lstChangePosIds.Count > 0)
     {
         UIRoleStateBar roleStateBar = null;
         for (int i = 0, max = m_lstChangePosIds.Count; i < max; i++)
         {
             if (!m_dicActiveRoleStateBar.TryGetValue(m_lstChangePosIds[i], out roleStateBar))
             {
                 continue;
             }
             roleStateBar.UpdatePositon();
         }
         m_lstChangePosIds.Clear();
     }
 }