public override void Stop() { if (_netManager != null && _netManager.IsRunning) { _netManager.Stop(); } if (_logicTimer != null) { _logicTimer.Stop(); } }
private void OnDestroy() { _netManager.Stop(); _logicTimer.Stop(); }
public void Destroy() // todo : consider whether it is correct to doestroy on stage. { _netManager.Stop(); _logicTimer.Stop(); }