diff --git a/Assets/Scripts/Common/UI/UIView.cs b/Assets/Scripts/Common/UI/UIView.cs index 3476783..bfd39c0 100644 --- a/Assets/Scripts/Common/UI/UIView.cs +++ b/Assets/Scripts/Common/UI/UIView.cs @@ -8,6 +8,11 @@ namespace QuizPleaseTest.Common.UI public virtual void Initialize() { + if (this == null) + { + return; + } + if (_isInitialized) { return; @@ -19,6 +24,11 @@ namespace QuizPleaseTest.Common.UI public virtual void Release() { + if (this == null) + { + return; + } + if (!_isInitialized) { return;