private int[,] GetVariable(PSOVariable variable)
        {
            switch (variable)
            {
            case PSOVariable.PBest:
                return(timelineSlider.PSOProgress.PBestCount);

            case PSOVariable.Position:
                return(timelineSlider.PSOProgress.PCount);

            default:
                throw new InvalidOperationException();
            }
        }
 public void SetPSOVariable(TMP_Dropdown dropdown)
 {
     variableType = (PSOVariable)dropdown.value;
     SetDataToRadarArray(this, new EventArgs());
 }