List之Sort使用
摘要:void TestListSort(){ List st = new List (); st.Add ("abcd"); st.Add ("abcdad"); st.Add ("a"); st.Add ("adadfaff"); st.Sort (ssort); foreach(string str in st){ print (str); } } in...
阅读全文
posted @
2016-11-14 15:11
魔天天
阅读(257)
推荐(0)
Ienumerable和Ienumerator的使用
摘要:using UnityEngine; using System.Collections; public class TestCoroutine : MonoBehaviour { void Start () { StartCoroutine (test()); print ("_______________________________"); TestIenumerator (...
阅读全文
posted @
2016-11-14 14:25
魔天天
阅读(402)
推荐(0)