Ejemplo n.º 1
0
    private float timeInterval = 1, lastUpdateTime = 0;     //刷新依据

    private void Awake()
    {
        ins = this;
    }
Ejemplo n.º 2
0
 private void OnDestroy()
 {
     ins = null;
 }
Ejemplo n.º 3
0
 // Use this for initialization
 void OnEnable()
 {
     _target = (TimerCtrl)target;
 }