Code Snippets

This video covers how to use snippets of code to adjust your object’s basic behaviors.

  1. Select an object in your scene and go to the Components tab in the Inspector window. 
  2. Select the Megacontroller or another Javascript file. 
  3. Drag an object from the Scene tab over to a list of functions listed in the Controller tab, and apply to the desired function (in this video, we select Animation as an example). 
  4. Press play to preview.
Table of Contents