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

        _interactionPanel.gameObject.SetActive(isOpen);
    }