コード例 #1
0
    public VisualizerBase GetVisualizator(VisualizerTypes visualizerType, DataArray dataArray, RectTransform containerRect, Settings settings)
    {
        switch (visualizerType)
        {
        case VisualizerTypes.Column:
            return(GetVisualyzerColumn(dataArray, containerRect, settings));

        default:
            return(GetVisualyzerColumn(dataArray, containerRect, settings));
        }
    }
コード例 #2
0
 public void Init(VisualizerTypes visualizerType, DataArray dataArray)
 {
     visualizerBase = visualizersList.GetVisualizator(visualizerType, dataArray, containerRect, settings);
 }