![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
NGUI
DesDestroy
不写代码的程序员还叫程序员么
展开
-
unity3d Ngui UIFilledSprite(CD倒计时)
using UnityEngine;using System.Collections;using System.Collections.Generic;public class TestSkillCD : MonoBehaviour{Public UIFilledSprite mSprCd;//显示CD条float mfCDTime = 0;float mfSkillCDTim原创 2012-12-29 13:50:48 · 2433 阅读 · 0 评论 -
斗地主洗牌+发牌+排序
主要打乱牌顺序void Shuffle(){ for (int i = 0 ; i < iAllCardNum ; i ++)//iAllCardNum=54{ int p = (int)UnityEngine.Random.Range(1,iAllCardNum); GameObject tempCard = CardList[i]; CardList[i] = Ca原创 2015-11-03 09:45:40 · 5336 阅读 · 1 评论