Skip to main content

CraftingInteractable.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 CodeSample : MonoBehaviour{
    public void Example(CraftingInteractable target)    {        target.SetInteractable(true);    }
}