EquipSlotClient.Load
Declaration#
public void Load(Inventory host, EquipSlotClientData data)Parameters#
| Name | Description |
|---|---|
| host | Inventory hosting the Equip Slot |
| data | Data 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); }
}