private void PoolView(LandElementView landView) { landView.OnSettingsPressed -= OnSettingsPressed; landView.OnJumpInPressed -= OnJumpInPressed; landView.OnOpenInDappPressed -= OnOpenInDappPressed; landView.OnEditorPressed -= OnEditPressed; landView.SetActive(false); landElementViewsPool.Enqueue(landView); }
private void PoolView(LandElementView view) { view.SetActive(false); landElementViewsPool.Enqueue(view); }