Time for action – Saving a new layout

  1. Now that we have created our new layout, we need to save it so we can reuse it later. In the Window menu select Layouts | Save Layout:

    Time for action – Saving a new layout

  2. You will be presented with a simple dialog box that will ask for the name of the layout. Enter Profiler into the text box and press Save:
    Time for action – Saving a new layout
  3. Now that your layout has been saved you can switch over to it at any time by selecting Window | Layouts and selecting your layout:
    Time for action – Saving a new layout

What just happened?

We have just saved our layout so that we can reference it later in our development process. In addition, we can share our layout with other developers by giving them the layout files that Unity stores.

Layouts are stored with the .wlt extension in the following folder :

  1. on Mac OSx :

    Users/username/Library/Preference/Unity/Editor/Layouts/

  2. On Windows 7

    Unity 3:

    c:usersusernameAppDataRoamingUnityEditor-3.xPreferencesLayouts

    Unity 2.x:

    C:usersusernameAppDataRoamingUnityEditorPreferencesLayouts

  3. On Windows XP

    Unity 3

    C:Documents and SettingsusernameApplication DataUnityEditor-3.xPreferencesLayouts

    Unity 2.x

    C:Documents and SettingsusernameApplication DataUnityEditorPreferencesLayouts

The best way to see this in action is to deploy a real application and look at it from two different layouts to see how it will change the way you interact with your environment. This is also a great time to install Unity Remote, as we want to use it when we are doing rapid prototypes.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.84.150