Fix verbose log about invalid resource.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user