public void SetStudent(int studentIndex) { if (availablePlayers.Count <= 0) { return; } currentPlayerIndex = studentIndex % availablePlayers.Count; if (currentPlayerIndex < 0) { currentPlayerIndex = availablePlayers.Count + currentPlayerIndex; } SenseixSession.SelectPlayer(GetCurrentPlayer()); SetName(); SetFace(); ThinksyPlugin.NextProblem(); }