StatInteractable.SetInteractable
Declaration#
public void SetInteractable(bool canInteract)Parameters#
| Name | Description |
|---|---|
| canInteract | Interactable 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); }
}