Inventory.RegisterEquipClient
Declaration#
public virtual void RegisterEquipClient(string id, EquipSlotClient client)Parameters#
| Name | Description |
|---|---|
| id | Id to associate |
| client | Client to register |
Description#
Register an EquipClient for this inventory
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(Inventory target, EquipSlotClient other) { target.RegisterEquipClient(other.slotId, other); }
}