/// <summary> /// 初始化匹配倒计时 /// </summary> /// <param name="time"></param> /// <param name="acb"></param> public void InitMatchTime(Fix64 time, MatchTimeCallback callback) { m_Enable = true; m_FixElapseTime = Fix64.Zero; m_FixPlanTime = time; m_MatchTimeCallback = callback; }
public void Destory() { if (m_DestoryGo != null) { GameObject.DestroyImmediate(m_DestoryGo); } m_DestoryGo = null; m_FixPlanTime = Fix64.Zero; m_FixElapseTime = Fix64.Zero; m_ResurgenceCallback = null; m_ResurgencePlayerData = null; m_MatchTimeCallback = null; m_SkillCDUISprite = null; m_Enable = false; }