示例#1
0
    public override List <GameObject> setup(NGraph pGraph, GameObject pGameObject, NGraph.DataSeriesDataLabelCallback pDataLabelCallback, GameObject pDataLabelContainer)
    {
        List <GameObject> pChildGos = base.setup(pGraph, pGameObject, pDataLabelCallback, pDataLabelContainer);

        mMarkerColor = PlotColor;

        return(pChildGos);
    }
示例#2
0
    public virtual List <GameObject> setup(NGraph pGraph, GameObject pGameObject, NGraph.DataSeriesDataLabelCallback pDataLabelCallback, GameObject pDataLabelContainer)
    {
        if (mGameObject != null)
        {
            return(null);
        }

        mGraph             = pGraph;
        mGameObject        = pGameObject;
        mDataLabelCallback = pDataLabelCallback;

        List <GameObject> pGoList = new List <GameObject>();

        mDataLabelContainerGo = pDataLabelContainer;
        return(pGoList);
    }