Exemplo n.º 1
0
        private void Awake()
        {
            if (Instance != null)
            {
                return;
            }
            Instance = this;

            DontDestroyOnLoad(gameObject);

            SceneManager.sceneLoaded += SceneManager_sceneLoaded;

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