Esempio n. 1
0
 static bool GetlocalizedSpritePrefix(string term, ref UnityEngine.Sprite __result)
 {
     if (!EnableImageHook)
     {
         return(true);
     }
     return(!ImageManager.TryGetImage(term, out __result));
 }
Esempio n. 2
0
        static bool FindAssetPrefix(string value, ref object __result)
        {
            if (!EnableImageHook)
            {
                return(true);
            }

            if (ImageManager.TryGetImage(value, out UnityEngine.Sprite sprite))
            {
                __result = sprite;
                return(false);
            }

            return(true);
        }