Last active
April 24, 2020 01:34
-
-
Save DongguemYoo/11c38f466b26edfcc831e46afef58931 to your computer and use it in GitHub Desktop.
shiftList
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void ShiftPoints() | |
{ | |
//max카운트 넘어가면 시프팅을 시작한다 | |
if (AllPoints.Count <= MaxCount) | |
return; | |
for (int i = 0; i < MaxCount; i++) | |
{ | |
AllPoints[i] = AllPoints[i + 1].y; | |
} | |
AllPoints.RemoveRange(MaxCount, 1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment