InventoryInteractable.SetInteractable
Declaration#
public void SetInteractable(bool canInteract)Parameters#
| Name | Description |
|---|---|
| canInteract | Interactable state |
Description#
Set the interactable state of the object
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(InventoryInteractable target) { target.SetInteractable(true); }
}