cull(engine-cleanup): pass-9 cascade round 1 after UILabel stub

This commit is contained in:
gamer147
2026-07-03 23:45:28 -04:00
parent ed6f6f1d68
commit 773844165b
14 changed files with 4 additions and 1208 deletions

View File

@@ -181,18 +181,6 @@ public abstract class UIRect : MonoBehaviour
}
}
public bool isFullyAnchored
{
get
{
if ((bool)leftAnchor.target && (bool)rightAnchor.target && (bool)topAnchor.target)
{
return bottomAnchor.target;
}
return false;
}
}
public virtual bool isAnchoredHorizontally
{
get
@@ -360,21 +348,6 @@ public abstract class UIRect : MonoBehaviour
return position;
}
protected virtual void OnEnable()
{
mUpdateFrame = -1;
if (updateAnchors == AnchorUpdate.OnEnable)
{
mAnchorsCached = false;
mUpdateAnchors = true;
}
if (mStarted)
{
OnInit();
}
mUpdateFrame = -1;
}
protected virtual void OnInit()
{
mChanged = true;