유니티 C#
클래스 리스트를 클래스 안에있는 정보로 정렬하는법
죽은쥐
2018. 10. 26. 11:15
List<TestClass> Test = new List<TestClass>();
Test.Sort(delegate(TestClass t1, TestClass t2) { return t1.date.CompareTo(t2.date); });