Пример #1
0
            public override string ToString()
            {
                string name = Mode.GetSchema().GetDisplayName() + seperator + "Tree Map";

                if (!m_SelectedItem.Equals(default(Treemap.ObjectMetric)))
                {
                    name += seperator + m_SelectedItem.GetName();
                }

                return(name);
            }
Пример #2
0
 public Item(ObjectMetric metric, Group group)
 {
     Metric = metric;
     Group  = group;
     Label  = Metric.GetName() + "\n" + EditorUtility.FormatBytes(Value);
 }