コード例 #1
0
    public void ShowPlot1()
    {
        // Do not try to create run-time objects unless we are in play mode
        if (!Application.isPlaying)
        {
            return;
        }

        captureGraph();
        if (mSeries1 != null)
        {
            mGraph.removeDataSeries(mSeries1);
            mSeries1 = null;
        }
        else
        {
            createPlot1();
        }
    }