Howdy! To watch this entire Gametutor course please Register  or log in

Scene View GUI
Course Description
When writing tools, a good thing to keep in mind is to give your users feedback, when a particular action has been started, completed, running, by the tool. Using Scene view editor GUI is one great way to provide this feedback to the users of a tool in the Unity Game Engine.
Course Details
Difficulty: Beginner
Category: Tools
Total Lessons: 6
Running Time: 1 hour 10 minutes
Date: 06/01/14
Course Files
This is a premium course and source files are available only to Rockstar members. Please Log In or Upgrade your account to unlock these files.
Locked Source File Icon
File Name: GaTu_Uni_SceneViewGUI.zip
File Size: 134.37 KB
Complete Unity project including scripts and asset files. If it's in the video it's in the source files.
Course Lessons

1. Setting Up The Dev Environment

This is a premium course and source files are available only to Rockstar members. Please Log In or Upgrade your account to unlock these files.
To get our development environment started, we will want to set up our folder structure and take a look at the scripts we will need to create in order to create an Inspector type editor, in Unity.

2. OnSceneGUI() & Handles

Lesson 2, OnSceneGUI() & Handles
To get a better understanding of what the Scene View GUI is we will need to take a look at the basics of getting Scene view gui up and running and what Unity provides us in terms of built-in functions and classes.

3. 2D Scene View GUI

Lesson 3, 2D Scene View GUI
Just like in Inspector Editors or floating window Editors we can include 2D GUI, in our Scene view and use them to display information to the user about events happening in the tool.

4. Creating a Waypoint Tool

Lesson 4, Creating a Waypoint Tool
A great example of a practical use of Scene View GUI, is the creation of a waypoint tool to allow artists and designers to place waypoints, for use in AI systems, or NPC systems, or anything for that matter.

5. Interactive Waypoint Creation

Lesson 5, Interactive Waypoint Creation
In order to create a smooth visually rich waypoint tool, we need to display some information to the user about the range of each waypoint in relation to other waypoints. We will take a look at how we can display this information to the user and also give the user a way to interactively click, in the scene view to create new waypoints, instead of having to use the Inspector Editor Button.

6. Prepping The Waypoint Tool For Distribution

Lesson 6, Prepping The Waypoint Tool For Distributio
Now that our waypoint tool is fully functioning, let’s do some clean up and get the tool ready for distribution amongst your team members and the Asset Store.