cull(engine-cleanup): pass-9 cascade round 1 after UIPanel stub
This commit is contained in:
@@ -9,27 +9,20 @@ using UnityEngine;
|
||||
[AddComponentMenu("NGUI/UI/NGUI Panel")]
|
||||
public class UIPanel : UIRect
|
||||
{
|
||||
public enum RenderQueue { Automatic, StartAt, Explicit }
|
||||
public enum RenderQueue { Automatic}
|
||||
|
||||
public delegate void OnGeometryUpdated();
|
||||
public delegate void OnClippingMoved(UIPanel panel);
|
||||
|
||||
public static List<UIPanel> list = new List<UIPanel>();
|
||||
|
||||
public OnGeometryUpdated onGeometryUpdated;
|
||||
public bool generateNormals;
|
||||
public bool widgetsAreStatic;
|
||||
public bool cullWhileDragging = true;
|
||||
public bool alwaysOnScreen;
|
||||
public bool anchorOffset;
|
||||
public bool softBorderPadding = true;
|
||||
public RenderQueue renderQueue;
|
||||
public int startingRenderQueue = 3000;
|
||||
public int depth;
|
||||
public UIDrawCall.Clipping clipping;
|
||||
public Vector4 baseClipRegion;
|
||||
public Vector2 clipSoftness;
|
||||
public bool hasMoved;
|
||||
public Vector2 clipOffset;
|
||||
public int clipCount;
|
||||
|
||||
@@ -45,9 +38,6 @@ public class UIPanel : UIRect
|
||||
// UIRect virtual overrides
|
||||
public override bool canBeAnchored => false;
|
||||
public override void Invalidate(bool includeChildren) { }
|
||||
|
||||
public bool hasClipping => false;
|
||||
public bool hasRectClipping => false;
|
||||
public bool hasCumulativeClipping => false;
|
||||
public Vector4 finalClipRegion => Vector4.zero;
|
||||
public Matrix4x4 worldToLocal => Matrix4x4.identity;
|
||||
@@ -61,10 +51,7 @@ public class UIPanel : UIRect
|
||||
public bool IsVisible(UIWidget w) => true;
|
||||
public Vector3 CalculateConstrainOffset(Vector3 min, Vector3 max) => Vector3.zero;
|
||||
public bool ConstrainTargetToBounds(Transform target, bool immediate) => false;
|
||||
public static int CompareFunc(UIPanel a, UIPanel b) => 0;
|
||||
public static UIPanel Find(Transform trans, bool createIfMissing, int layer) => null;
|
||||
public UIDrawCall FindDrawCall(UIWidget w) => null;
|
||||
public void AddWidget(UIWidget w) { }
|
||||
public void RemoveWidget(UIWidget w) { }
|
||||
public void SetDirty() { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user