Skip to main content

EquipSlotClient.Load

Declaration#

public void Load(Inventory host, EquipSlotClientData data)

Parameters#

NameDescription
hostInventory hosting the Equip Slot
dataData to load

Description#

Load state from data

Usage#

using NullSave.GDTK.Inventory;using NullSave.GDTK.Inventory.Data;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(EquipSlotClient target, EquipSlotClientData other)    {        target.Load(target.inventory, other);    }
}