void Start() { ballScript = GameObject.Find("leftwall").GetComponent <dataReader> (); bumpScript = GameObject.Find("bump").GetComponent <resizeBump> (); pieChartScript = GameObject.Find("ball").GetComponent <PieChartMeshController> (); BumpChartScript = GameObject.Find("bump").GetComponent <BumpPieChartMeshController> (); }
//===================== void Start() { //Get Data from dataReader ballScript = GameObject.Find("leftwall").GetComponent <dataReader> (); //======== mPieChart = gameObject.AddComponent("PieChartMesh") as PieChartMesh; if (mPieChart != null) { mPieChart.Init(mData, 10, 0, 10, null); mData = initialArray(); mPieChart.Draw(mData); } //SetTrigger as false so it doesn't update at the start enterTrigger = false; }
//===================== void Start() { ballScript = GameObject.Find("leftwall").GetComponent <dataReader> (); enterTrigger = false; }
=> await dataReader.IsDBNullAsync(ordinal) ? default : getValue(dataReader, ordinal);