Exemple #1
0
        private void Awake()
        {
            if (Instance != null)
            {
                return;
            }
            Instance = this;

            DontDestroyOnLoad(gameObject);

            SceneManager.sceneLoaded += SceneManager_sceneLoaded;

            LoadFromFile();
            StartCoroutine(LoadPNG(pngPaths[pngIndex]));
        }
Exemple #2
0
 private void SceneManager_sceneLoaded(Scene arg0, LoadSceneMode arg1)
 {
     LUTLoader.OnLoad();
 }