Main Page
Welcome to the UnifyWiki
The UnityWiki is part of the Unify Web experience and is a place to find and share Unity knowledge. Special thanks to User:Aarku, User:Dho, NCarter, Freyr, Outcast and others.
Please see the discussion page of the main page for current goals and status. Please visit Help:Contents for general guidelines before you begin adding.
Visit User's Guide for usage and configuration help.
We're currently working on 848 articles about Unity and its surrounding subjects.
To create a new page, type in a title for your page in the URL bar after the "index.php/" like "index.php/NewArticle" then edit that page. It is a good idea to copy someone else's work onto your page at first to learn the layout etc.
Script Archive
Camera Controls
- Headbobber - This script makes an object bob up and down smoothly when you're pressing one or both of the horizontal/vertical axes.
Character Controller Scripts
- Force2D - Place this script on a GameObject and have it constrained to two dimensions.
- ShipControls - Place this script on a RigidBody for 2D spaceship controls like OverWhelmed Arena.
- VariableSpeedFPSwalker - An FPS walker script having different speeds for walking forward, strafing, and backpedaling
- PhysicsFPSWalker - An FPS walker that works by physics and therefore gets friction info from other objects.
Debugging Scripts
- DebugGUIController - A GUI controller script to allow visual feedback from your scripts.
General Concepts
- AManagerClass - example on how to add easy access to a singleton class in a scene.
- ToggleGravity - example how to toggle a property, in this case the global gravity setting, by the left mouse button.
General Purpose Effect Scripts
- CameraFacingBillboard - Use this script on a billboard or similar object to make it align itself with the camera.
- LookAtCameraYonly - Use this script on a billboard or other object to have it face the camera but only rotate on the Y axis.
- Mathfx - This script contains a growing number of small and useful math functions. (Short for Mathf eXtended)
- StopEmittingAfterDelay - After a configurable delay, particles will fade naturally, then finally the object will get destroyed with autodestruct.
Graphical User Interface Scripts
- Button - Use this script on a guiTexture object for regular push buttons that send a message when clicked.
- GuiRatioFixer - Use on a GUIText /GUITexture object to automatically adjust aspect ratio
- ToggleButton - Extends the Button class to create a toggle button.
Heads Up Display Scripts
- MessageDisplayer - Use this script on a GUIText object to have a self-disappearing list of status messages.
Sound Scripts
- JukeboxController - A very basic jukebox class. This can be used to manage multiple audio clips across different levels.