Fix verbose log about invalid resource.

This commit is contained in:
2022-11-20 23:08:58 +08:00
parent bb3afba11f
commit 39ef9815e8
2 changed files with 10 additions and 3 deletions

View File

@@ -126,8 +126,8 @@ namespace Cryville.Common.Unity.UI {
void Update() {
Vector2 cprectsize = ((RectTransform)transform.parent).rect.size;
if (cprectsize != pprectsize) {
OnFrameUpdate();
pprectsize = cprectsize;
OnFrameUpdate();
}
}
#pragma warning restore IDE0051