From the course: Unity: Architectural Visualization Interactivity
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Creating an action trigger - Unity Tutorial
From the course: Unity: Architectural Visualization Interactivity
Creating an action trigger
- [Instructor] In the previous movie, we constructed a message that can fade in based on our animation tree here and this animation, at least the playback of it is determined by this parameter here inside the animator window. This is the message show parameter. We can tick that box to display the message and that works absolutely fine, but of course the viewer won't have access to these controls when they view our visualization. That's why we're going to need to create a script file here in C# in Unity to actually determine when that parameter gets activated. Now, the script file I'm going to be creating like all the script files in this course, they're going to be eminently reusable. I'm going to explain how the script file works, but you can take the script files out of this project, apply them to your own architectural visualizations and you'll be able to reuse them for your own purposes. Let's get started at creating the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.