using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using UnityEngine;
public class CountDownTool
{
static Timer timer = new Timer(TimerCallBack);
static Stopwatch stopwatch = new Stopwatch();
/// <summary>
/// 是否完成
/// </summary>
public static bool Complete { get; private set; }
/// <summary>
/// 时间限制
/// </summary>
static TimeSpan Restrict { get; set; }
/// <summary>
/// 倒计时时间
/// </summary>
public static TimeSpan CountDown
{
get
{
&nbs