Пример #1
0
    public override bool ValidatePickUp(GameObject originator, string handSlot = null)
    {
        //Do a sync of the storage items when adding to UI
        storageObj.NotifyPlayer(originator);

        return(base.ValidatePickUp(originator, handSlot));
    }
Пример #2
0
 public void OnPickupServer(HandApply interaction)
 {
     //Do a sync of the storage items when adding to UI
     storageObj.NotifyPlayer(interaction.Performer);
 }