Main Page
From Unify Community Wiki
(Difference between revisions)
(→Shader Archive) |
(→Script Archive) |
||
Line 15: | Line 15: | ||
<b>General Concepts</b> | <b>General Concepts</b> | ||
*[[AManagerClass]] - example on how to add easy access to a singleton class in a scene. | *[[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. | ||
<b>General Purpose Effect Scripts</b> | <b>General Purpose Effect Scripts</b> |
Revision as of 12:06, 22 December 2005
Contents |
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, Dh0, 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.
Script Archive
Character Controller Scripts
- ShipControls - Place this script on a RigidBody for 2D spaceship controls like OverWhelmed Arena.
- Force2D - Place this script on a GameObject and have it constrained to two dimensions.
- VariableSpeedFPSwalker - An FPS walker script having different speeds for walking forward, strafing, and backpedaling
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
- StopEmittingAfterDelay - After a configurable delay, particles will fade naturally, then finally the object will get destroyed with autodestruct.
- LookAtCameraYonly - Use this script on a billboard or other object to have it rotate on the Y axes and always face the camera.
- Mathfx - This script contains a growing number of small and useful math functions. (Short for Mathf eXtended)
Graphical User Interface Scripts
- Button - Use this script on a guiTexture object for regular push buttons that send a message when clicked.
- ToggleButton - Extends the Button class to create a toggle button.
- GuiRatioFixer - Use on a GUIText /GUITexture object to automatically adjust aspect ratio
Heads Up Display Scripts
- MessageDisplayer - Use this script on a GUIText object to have a self-disappearing list of status messages.
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.
Shader Archive
- BumpSpecModulate - Bump mapped shader that modulates between original texture color and "alpha color" based on alpha of main texture.
- TexturedFont - Use this shader in place of the built in Text Shader for multicolored fonts instead of solid colored ones.
- VegetationTwoPass - Great vegetation shader, renders opaque and then renders semitransparent.
- VegetationVertexLit - Vertex-lit shader with no culling that is ideal for vegetation and other two sided polygon models.
Tips Archive
3D Application Tips
- Blender - Some critical tips for using Blender with Unity.
2D Application Tips
Audio Application Tips
Unity Tips
- Font Creation - An AI template file to help create font textures.
Wizard Archive
These scripts go in the Assets/Editor folder of your project and require at least version 1.2 of Unity.
GameObject Manipulation
- PlaceSelectionOnSurface - Takes the current selection and raycasts downward from each object and moves them to where they hit.