摘要:
/// /// 将数组中第n个元素,放到第m个元素后面 /// /// 数组B /// /// void ArraySelectToBack(T[] B,int n,int m) { int length = B.Length; if(n>=length -1) { return; } if (m ==0|| m > length - 1) { return; } T tem... 阅读全文
posted @ 2013-09-22 16:59
Vital
阅读(536)
评论(0)
推荐(1)
摘要:
class FrameAnimation { private float fps = 10.0f; private Rect drawPos; private float time = 0; private int currentIndex = 0; public void DrawFrameAnimation(Texture[] frameTex) { int length = frameTex.Length; GUI.DrawTexture(drawPos, frameTex[currentIndex]); t... 阅读全文
posted @ 2013-09-22 16:49
Vital
阅读(5796)
评论(0)
推荐(1)
浙公网安备 33010602011771号