示例#1
0
            public Data(Vector3 pos, int count, float time)
            {
                this.pos   = pos;
                this.count = count;
                this.time  = time;

#if UNITY_EDITOR
                treeElement = new LevelMetricsTreeElement();
                treeElement.SetPos(pos);
#endif
            }
示例#2
0
            public Runtime(string name, string objectName, Color gizmoColor)
            {
                this.name       = name;
                this.objectName = objectName;
                this.gizmoColor = gizmoColor;

                data = new List <Data>();
#if UNITY_EDITOR
                treeElement = new LevelMetricsTreeElement();
#endif
            }
示例#3
0
            public Runtime(string name, string objectName, int countThreshold, Color gizmoColor, float gizmoSize, GizmoTypes gizmoType)
            {
                this.name           = name;
                this.objectName     = objectName;
                this.countThreshold = countThreshold;
                this.gizmoColor     = gizmoColor;
                this.gizmoSize      = gizmoSize;
                this.gizmoType      = gizmoType;

                data = new List <Data>();
#if UNITY_EDITOR
                treeElement = new LevelMetricsTreeElement();
#endif
            }