Skip to main content

StatInteractable.SetInteractable

Declaration#

public void SetInteractable(bool canInteract)

Parameters#

NameDescription
canInteractInteractable state

Description#

Set the interactable state of the object

Usage#

Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(StatInteractable target)    {        target.SetInteractable(true);    }
}