Exemplo n.º 1
0
 public void SetInteractionPanel(bool isOpenEvent, InteractionType interactionType)
 {
     if (isOpenEvent)
     {
         _interactionPanel.FillInteractionPanel(interactionType);
     }
     _interactionPanel.gameObject.SetActive(isOpenEvent);
 }
Exemplo n.º 2
0
    private void SetInteractionPanel(bool isOpen, InteractionType interactionType)
    {
        if (isOpen)
        {
            _interactionPanel.FillInteractionPanel(interactionType);
        }

        _interactionPanel.gameObject.SetActive(isOpen);
    }