예제 #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);
        }
예제 #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);
            }
        }