뜬금이 별똥이 아빠

List 섞기

Unity_C#2018. 3. 5. 11:54
1
2
System.Random rnd = new System.Random();
tempList.Sort((a, b) => (a == b) ? 0 : rnd.Next(-11));
cs


'Unity_C#' 카테고리의 다른 글

Runtime 에서 RenderTexture 생성 및 설정  (0) 2018.03.15
UI 오브젝트 위에 마우스 커서가 있는지 체크  (0) 2018.03.05
c# 연산자  (0) 2018.03.05
Unity - Sprite Atlas  (0) 2018.03.05
Unity 최적화  (0) 2018.03.05