Skip to main content

ContainerInteractable.Interact

Declaration#

public virtual bool Interact(Interactor source)

Parameters#

NameDescription
sourceObject performing interaction

Description#

Interacts with the container

Usage#

using NullSave.GDTK;using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(ContainerInteractable target, Interactor other)    {        target.Interact(other);    }
}