Virtual Game Lab
  • News
  • Research
  • Publications
  • Unity Resources
  • Contact

Demo for Saving Data/Editor Scripting

7/9/2010

5 Comments

 
I combined the topics which I talked about in recent blog posts. These three scripts save the position of a game object to your hard disk. They also read the saved route again and plot the route for you. The interface for the recording and loading is done with a custom inspector.
Just use the scripts in an empty project and follow the instructions of the video. The scripts are also commented.

"editor_movement.js" needs to be put in the Editor folder within your project's Assets folder. Create the folder if it doesn't exist.
Also, create the tag "Waypoint" in the tag manager. 

Edit (07/13/10): I tweaked and improved the scripts. Download them again if you got the earlier versions.
recordingscript.js
File Size: 2 kb
File Type: js
Download File

save.js
File Size: 0 kb
File Type: js
Download File

editor_movement.js
File Size: 1 kb
File Type: js
Download File

editor_scripting_and_save_hd.mp4
File Size: 78844 kb
File Type: mp4
Download File

5 Comments

Unity3 Preview

7/7/2010

0 Comments

 
While I was working on a small demo about editor scripting, I noticed an email by a Senior QA Specialist of Unity Technologies in my inbox. I was lucky enough to be given access to the Beta3 version of the soon-to-be released Unity3. I will continue with my editor scripting example, but I most likely will be sidetracked by some of the amazing new features. :)
Picture
0 Comments

Editor Scripting for Data Analysis

7/6/2010

0 Comments

 
I finally got around to record a small example of how you can use the Unity editor to analyze data visually and arithmetically. The example is of my most recent experiment about navigation behavior. Doing all calculations of distances and angles within 3D space in the actual testing environment makes just so much more sense than just exporting data and running everything through a statistical program.
I will add a small example project of how to create some custom inspector shortly. In the meanwhile, take a look at using editor scripting for data analysis. HD and low quality videos available.
editor_scripting.mp4
File Size: 17590 kb
File Type: mp4
Download File

editor_scripting_hd.mp4
File Size: 49034 kb
File Type: mp4
Download File

0 Comments

    Sebas

    Experimental Psychologist
    Research Associate

    Mad Scientist

    Red 5 Studios
    Institute for Creative Technologies, USC, Los Angeles

    View my profile on LinkedIn

    RSS Feed

    Archives

    January 2013
    December 2012
    November 2012
    September 2012
    June 2012
    April 2012
    March 2012
    January 2012
    July 2011
    June 2011
    May 2011
    April 2011
    January 2011
    December 2010
    October 2010
    August 2010
    July 2010
    June 2010
    May 2010
    April 2010

    Categories

    All
    Development
    Games User Research
    Literature
    News
    Research Update
    Unity
    Unity Research Update
    Virtual Reality

© Copyright Sebastian Koenig 2009-2018