Unity、NGUI,那种方法更好呢?
1、Update中
using UnityEngine;
using System.Collections;
public class SkillCDUpdatce : SkillCDShowIconBase {
private bool bIsInCD;
public float fCD;
private float fTimeCount;
public UISprite _Sprite;
void Update(){
if(bIsInCD && null != _Sprite){
fTimeCount += Time.deltaTime;
if(fTimeCount > fCD){