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

Floating Windows
Course Description
A very important component to successfully writing tools in Unity, is to understand how to create and utilize floating windows. These types of editors are great for popup type tools, or node based editors, or designer type windows. Throughout this course we will learn how to build a floating window and look at ways we can use them to build up editors for our game development projects in the Unity 3D Engine. By the end of this course we will have a fully functioning floating window that allows one to replace a selection of objects with a provided object.
Course Details
Difficulty: Beginner
Category: Tools
Total Lessons: 6
Running Time: 57 minutes, 29 seconds
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:
File Size: 164.65 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

Lesson 1, Setting Up The Dev Environment
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 a floating window type editor, in Unity.

2. Displaying The Window

Lesson 2, Displaying The Window
Now that we have our scripts created and our scripting environment set up , let look at how to get the floating window to actually display by using a Menu Item in the Unity editor.

3. Giving The Window Some GUI

Lesson 3, Giving The Window Some GUI
With our floating window displaying and a simple label showing inside of that floating window, let start to add some more types of GUI. This will set us up for the following lessons where we will build out our Object Replacement tool.

4. Making The Tool Work

Lesson 4, Making The Tool Work
Now that we have the floating window set up to allow a user to add the replacement object, we need to actually make the tool work. Throughout this lesson we will learn how to make the tool work to actually replace selected objects with the user defined object.

5. Modular Code For Tools

Lesson 5, Modular Code For Tools
Now that our tool is working let’s look at how we can break out our code so we can allow other tools to utilize the same code. This helps you as the tools programmer keep the amount of code writing, down to a minimum.

6. How To Set Up Tools For The Asset Store

Lesson 6, How To Set Up Tools For The Asset Store
With our final tool developed and tested, let’s take a look at the steps needed in order for the tool to be accepted and set up for the Unity Asset Store.