private void Update() { if (Input.GetButtonDown("Interact")) { if (interactor) { Debug.Log(interactor.Interact(gameObject)); } } }
private void Update() { if (Input.GetButtonDown("Interact")) { if (interactor) { Debug.Log(interactor.Interact(gameObject)); } } }