Skip to main content

InventoryInteractable.SetInteractable

Declaration#

public void SetInteractable(bool canInteract)

Parameters#

NameDescription
canInteractInteractable 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);    }
}