Пример #1
0
    void Interact()
    {
        if (Input.GetButton("Back")) //Get me out of this conversation!
        {
            interactingObject.FinishInteracting(false);
        }

        if (!interactingObject.isActiveObject) //if the object is done with you, you're done with the object bud
        {
            isInteracting = false;
            canInteract   = false;
        }
    }