diff --git a/Viagg-io/Assets/Scripts/PhotoTransition.cs b/Viagg-io/Assets/Scripts/PhotoTransition.cs index d37e4ad1..34e12f0e 100644 --- a/Viagg-io/Assets/Scripts/PhotoTransition.cs +++ b/Viagg-io/Assets/Scripts/PhotoTransition.cs @@ -59,6 +59,14 @@ public class PhotoTransition : MonoBehaviour public void Reset() { + foreach (var texture in _imgList) + { + if (texture != null) + { + Destroy(texture); + } + } + _imgList.Clear(); _state = 0; }