diff options
Diffstat (limited to 'Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/CanvasUpdateRegistry.cs')
-rw-r--r-- | Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/CanvasUpdateRegistry.cs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/CanvasUpdateRegistry.cs b/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/CanvasUpdateRegistry.cs index ad6e8c2..6690060 100644 --- a/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/CanvasUpdateRegistry.cs +++ b/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/CanvasUpdateRegistry.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using UnityEngine.UI.Collections; -using System.Threading; namespace UnityEngine.UI { @@ -111,22 +110,12 @@ namespace UnityEngine.UI } } - private void Foo()
- {
- GameObject go = GameObject.Find("Canvas");
- UISystemProfilerApi.AddMarker("MaskableGraphic.cullingChanged", go);
- Thread.Sleep(100);
- } - private static readonly Comparison<ICanvasElement> s_SortLayoutFunction = SortLayoutList; // 在渲染canvas之前对canvas下的元素进行rebuild // 进行 prelayout -> layout -> postlayout -> prerender -> LatePreRender 流程 private void PerformUpdate() { UISystemProfilerApi.BeginSample(UISystemProfilerApi.SampleType.Layout); - - Foo(); - CleanInvalidItems(); m_PerformingLayoutUpdate = true; |