コード例 #1
0
        public static void OnPreRender()
        {
            bool flag  = PackageEditorAtlasMonitor.CheckForColorSpaceChange();
            bool flag2 = PackageEditorAtlasMonitor.CheckForImportedTextures();
            bool flag3 = PackageEditorAtlasMonitor.CheckForImportedVectorImages();
            bool flag4 = flag | flag2;

            if (flag4)
            {
                UIRAtlasManager.MarkAllForReset();
                VectorImageManager.MarkAllForReset();
            }
            else
            {
                bool flag5 = flag | flag3;
                if (flag5)
                {
                    VectorImageManager.MarkAllForReset();
                }
            }
        }
コード例 #2
0
 public static void StaticInit()
 {
     PackageEditorAtlasMonitor.StaticInit();
 }