Пример #1
0
        public static string GetInternationalString(SUIStringResource stringResource)
        {
            if (m_ResourceManager == null)
            {
                m_ResourceManager = new SUIResourceManager();
            }
            SUIStringResourceHandler handler = (SUIStringResourceHandler)m_ResourceManager.m_Handlers[stringResource.StringType];

            return(handler.ExtractString(stringResource));
        }
Пример #2
0
 public void RegisterResourceHandler(SUIStringResourceHandler stringHandler)
 {
     this.m_Handlers[stringHandler.StringType] = stringHandler;
 }
Пример #3
0
 public void RegisterResourceHandler(SUIStringResourceHandler stringHandler)
 {
     this.m_Handlers[stringHandler.StringType] = stringHandler;
 }