Beispiel #1
0
    public void AquireNewActiveItem(AbstractItem activeItem)
    {
        activeItem.ActivateItem(m_MyPlayer);
        m_ActiveItem = activeItem;

        if (m_MyPlayer.photonView.isMine)
        {
            PlayerHUDManager.instance.ActivateItemNotification(true);
            JournalUIManager.instance.AddElementToViewport(activeItem.Name, activeItem.Tooltip, activeItem.SpriteName);
        }
    }