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