Skip to main content

ContainerInteractable.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(ContainerInteractable target)    {        target.SetInteractable(true);    }
}