private Texture2D GetPortraitLeaderSol(int iCharKind) { NrMyCharInfo kMyCharInfo = NrTSingleton <NkCharManager> .Instance.m_kMyCharInfo; if (kMyCharInfo != null && kMyCharInfo.UserPortrait) { NrCharUser nrCharUser = NrTSingleton <NkCharManager> .Instance.GetChar(1) as NrCharUser; if (nrCharUser.GetCharKind() == iCharKind) { return(kMyCharInfo.UserPortraitTexture); } } return(null); }