StatInteractable.Interact
Declaration#
public virtual bool Interact(Interactor source)Parameters#
| Name | Description |
|---|---|
| source | Interactor 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); }
}