cull(engine-cleanup): pass-9 cascade round 1 after UILabel stub
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user