diff --git a/Assets/Scripts/CAFU/Core/Presentation/View/Controller.cs b/Assets/Scripts/CAFU/Core/Presentation/View/Controller.cs index ee955cc..dee340a 100644 --- a/Assets/Scripts/CAFU/Core/Presentation/View/Controller.cs +++ b/Assets/Scripts/CAFU/Core/Presentation/View/Controller.cs @@ -1,5 +1,6 @@ using CAFU.Core.Presentation.Presenter; using UniRx; +using UnityEngine; // ReSharper disable VirtualMemberNeverOverridden.Global // ReSharper disable MemberCanBePrivate.Global @@ -48,6 +49,7 @@ protected override void OnAwake() { protected override void OnDestroy() { base.OnDestroy(); Instance = null; + Resources.UnloadUnusedAssets(); } } diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..0645777 --- /dev/null +++ b/yarn.lock @@ -0,0 +1,103 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@umm/unirx@^1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@umm/unirx/-/unirx-1.0.3.tgz#72228afd507f64c8d960793ac3a723ceacee49ce" + dependencies: + glob "^7.1.2" + mkdirp "^0.5.1" + ncp "^2.0.0" + rimraf "^2.6.1" + +"@umm/unirx_observablelifecyclemonobehaviour@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@umm/unirx_observablelifecyclemonobehaviour/-/unirx_observablelifecyclemonobehaviour-1.0.2.tgz#6be184b00d5bd755702b9457844b2460d6bfbf7e" + dependencies: + "@umm/unirx" "^1.0.3" + glob "^7.1.2" + mkdirp "^0.5.1" + ncp "^2.0.0" + rimraf "^2.6.1" + +balanced-match@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + +glob@^7.0.5, glob@^7.1.2: + version "7.1.2" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" + +minimatch@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" + dependencies: + brace-expansion "^1.1.7" + +minimist@0.0.8: + version "0.0.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" + +mkdirp@^0.5.1: + version "0.5.1" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" + dependencies: + minimist "0.0.8" + +ncp@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ncp/-/ncp-2.0.0.tgz#195a21d6c46e361d2fb1281ba38b91e9df7bdbb3" + +once@^1.3.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + dependencies: + wrappy "1" + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + +rimraf@^2.6.1: + version "2.6.2" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" + dependencies: + glob "^7.0.5" + +wrappy@1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"