private void Awake() { if (Instance != null) { return; } Instance = this; DontDestroyOnLoad(gameObject); SceneManager.sceneLoaded += SceneManager_sceneLoaded; LoadFromFile(); StartCoroutine(LoadPNG(pngPaths[pngIndex])); }
private void SceneManager_sceneLoaded(Scene arg0, LoadSceneMode arg1) { LUTLoader.OnLoad(); }