Main Page

From Unify Community Wiki
Revision as of 05:29, 1 December 2005 by 65.27.91.153 (Talk)

Jump to: navigation, search

Welcome to the Snippet Wiki

The Snippet Wiki is part of the Unify Web experience and is a place to find and share Unity scripts, wizards, etc. One of our primary goals right now is to have source code syntax highlighting. If you can help us with this, please let us know by heading over to the Unity Forum.


Current Status:

dh0 has syntax highlighting working on his local test wiki. Feel free to test your code in that wiki. It will soon be working here too. The usage is simple. <csharp>/*csharp code here*/</csharp>.

The syntax highlighting could be improved. For example, It would be great if Unity calls in code could link to Unity documentation. Just like how the new keyword links to msdn.

More status will be added when jeff wakes up.


General Purpose Effect Scripts

  1. StopEmittingAfterDelay - particles will fade naturally then the object will get destroyed.

Heads Up Display Scripts

  1. MessageDisplayer - Use this script on a guiText object to have a self-disappearing list of status messages.

Character Controller Scripts

  1. ShipControls - Place this script on a rigidbody for 2D spaceship controls like OverWhelmed Arena.

Graphical User Interface Scripts

  1. Button - Use this script on a guiTexture object for regular push buttons that send a message when clicked.
  2. GuiRatioFixer - Use on a guiText/guiTexture object to automatically adjust aspect ratio

Scripting Concepts

  1. AManagerClass - example on how to add easy access to a singleton class in a scene.

Go to User's Guide for usage and configuration help.

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox