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 }
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 }
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 }