Unfortunately there are many ways to do what your asking and from the info you have here it's very hard to tell what's going on. We're missing a lot of information.
It appears to me that zoomCamera(); in onObjectsClick(event) is not an "Updated" but a single frame function.
It appears to me that you are using lerp in a way that it's not really designed for....
This question has already an answer in StackOverflow given by the user kenoni. I'm quoting the answer:
Basically, you copy all the file references to your view and of course your canvas container with the code that initializes it.
Add everything that is a css style file with
And everything that is a js ...
My best guess as to how to do this would be to use the MonoScript type to expose a list of script references in the Inspector. This type is in the UnityEditor namespace, so we need to smuggle the type information out of those objects to use at runtime:
public UnityEditor.MonoScript _scripts;