public void ReshapeValuesToDataPointsHeart(double[] values) { foreach (var item in values) { HeartPoints.Add(new DataPoint(HeartPoints.Count + 1, item)); } }
void Start() { levelHelper = LevelHelper.createLevelHelper(gameObject); heartPoints = FindObjectOfType(typeof(HeartPoints)) as HeartPoints; }