Exemplo n.º 1
0
        private void ShowDebugData(int src, int frame, NodeDebugPanel p)
        {
            var         data   = _datas[src];
            List <long> frames = data.GetFrame(frame);

            (p.Root as TextNewECtrl).Canvas.ShowDebug(src, frames);
        }
Exemplo n.º 2
0
        public void AddDebugList(int gameObjectId, List <long> pathList)
        {
            RunTimeNodeData data;
            TextNewECtrl    ctrl;

            if (!_id2Windows.TryGetValue(gameObjectId, out ctrl))
            {
                return;
            }
            NodeDebugPanel debugPanel = ctrl.DebugPanel;

            if (!debugPanel.IsStop && GetTreeWidthFlag(gameObjectId, out data))
            {
                data.AddDebugList(pathList);
                debugPanel.AddItem(gameObjectId);
            }
        }