private void Start() { graphContainer = GameObject.Find("GraphContainer").GetComponent <RectTransform>(); List <byte> newList = new List <byte>() { 75, 89, 80, 80, 84, 87, 85, 110, 115, 120, 180 }; polarReceiver = GameObject.Find("Polar").GetComponent <PolarReceiver>(); _graphHeight = graphContainer.sizeDelta.y; _ymax = 200f; _xsize = graphContainer.sizeDelta.x / 30f; ShowGraph(polarReceiver.polarData); }
private void Awake() { Polar = GameObject.Find("Polar").GetComponent <PolarReceiver>(); }