IInteractor
Used to identify who interacts with the Interactable
/// <summary>ID value to recognize who is doing the interaction.</summary>
int ID { get; }
/// <summary>Can the interactor interact?</summary>
bool Active { get; set; }
/// <summary>GameObject of who is doing the interaction.</summary>
Transform Owner { get; }
/// <summary>Runs the interactor logic. It also calls the interactable.</summary>
void Interact(IInteractable interactable);Last updated