The Stack Overflow podcast is back! Listen to an interview with our new CEO.

New answers tagged

2

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....


0

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 @Styles.Render("~/webgl/TemplateData/style.css") And everything that is a js ...


0

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: [SerializeField] System.Type[] _types; #if UNITY_EDITOR public UnityEditor.MonoScript[] _scripts; ...


Top 50 recent answers are included