Esempio n. 1
0
    private void PoolView(LandElementView landView)
    {
        landView.OnSettingsPressed   -= OnSettingsPressed;
        landView.OnJumpInPressed     -= OnJumpInPressed;
        landView.OnOpenInDappPressed -= OnOpenInDappPressed;
        landView.OnEditorPressed     -= OnEditPressed;

        landView.SetActive(false);
        landElementViewsPool.Enqueue(landView);
    }
Esempio n. 2
0
 private void PoolView(LandElementView view)
 {
     view.SetActive(false);
     landElementViewsPool.Enqueue(view);
 }