コード例 #1
0
 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> ();
 }
コード例 #2
0
    //=====================

    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;
    }
コード例 #3
0
    //=====================

    void Start()
    {
        ballScript   = GameObject.Find("leftwall").GetComponent <dataReader> ();
        enterTrigger = false;
    }
コード例 #4
0
 => await dataReader.IsDBNullAsync(ordinal) ? default : getValue(dataReader, ordinal);