public void Init() { splineIcons[0].Init(splinePositions[0], panelSwitch.GetCurrentQuestionIcon(), panelSwitch.GetCurrentQuestionText()); splineIcons[1].Init(splinePositions[1], panelSwitch.GetSecondQuestionIcon(), panelSwitch.GetSecondQuestionText()); splineIcons[2].Init(splinePositions[2], panelSwitch.GetLastQuestionIcon(), panelSwitch.GetLastQuestionText()); }