IInteractor

Used for identify who Interact with the Interactable


/// <summary> ID value to recognize who is doing the Interaction  </summary>
int ID { get; }

/// <summary>Can the Interacter Interact?</summary>
bool Active { get; set; }

/// <summary> GameObject of who is doing the Interaction  </summary>
Transform Owner { get; }

/// <summary>Makes the Interacter Logic, It also calls the Interactable.
void Interact(IInteractable interactable);

Last updated