Skip to main content

StatInteractable.Interact

Declaration#

public virtual bool Interact(Interactor source)

Parameters#

NameDescription
sourceInteractor requesting action

Description#

Interact with the object

Usage#

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