public void MoveContainers(bool isDisappear) { if (isDisappear) { float chrono = 0f; DOTween.To(() => chrono, x => chrono = x, 1f, 0.3f) .OnComplete(() => MoveOut()); } else { DebugDisplay.Instance.Log("MOVE IN"); float chrono = 0f; DOTween.To(() => chrono, x => chrono = x, 1f, 0.3f) .OnComplete(() => m_BoardManager.ActivateBoard(true)); m_CurrentLevelContainer.DOMoveX(0f, 0.5f); } }