public void Destroy() { DCLog.Log("Destroy 1"); if (mDestroyed) { return; } mDestroyed = true; DCLog.Log("Destroy 2"); if (mPhysic) { DCTimer.RemovePhysic(this); } else { DCTimer.RemoveNormal(this); } }
public DCBaseTimer CreatePhysic() { mPhysic = true; DCTimer.AddPhysic(this); return(this); }
public DCBaseTimer CreateNormal() { DCTimer.AddNormal(this); return(this); }