private void InitializeChart() { tChart1.Series.Add(typeof(Line)); tChart1.Series.Add(typeof(Points)); tChart1.Series.Add(typeof(Line)); tChart1[0].FillSampleValues(); tChart1[1].FillSampleValues(); tChart1[2].FillSampleValues(); tChart1.Tools.Add(magnify = new Magnify()); magnify.Width = 100; magnify.Height = 100; }
// Use this for initialization void Start() { lm = FindObjectOfType <LevelManager> (); cam = FindObjectOfType <Magnify> (); pm = FindObjectOfType <PlayerManager> (); }