Scripts/Effects

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
(General Purpose Effect Scripts)
m
 
(19 intermediate revisions by 15 users not shown)
Line 1: Line 1:
+
{{Scripts Tabbed Navigation}}
{| style="width:100%; margin:auto; background:transparent;" cellspacing="0" cellpadding="0" valign="top" border="0" |
+
| style="padding:0 .3em; background-color:#CEE0F2; font-size:90%; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{1|[[Scripts/General| General]]}}}
+
+
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
+
  
| style="padding:0.3em; font-size:90%; background-color:#CEE0F2; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Editor| Editor]]}}}
 
 
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 
 
| style="padding:0.3em; font-size:90%; background-color:#CEE0F2; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Controllers| Controllers]]}}}
 
 
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 
 
| style="padding:0 .3em; background-color:#CEE0F2; font-size:90%; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/GUI|GUI]]}}}
 
 
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 
 
| style="padding:0.3em; font-size:90%; background-color:#CEE0F2; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Effects| Effects]]}}}
 
 
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 
 
| style="padding:0.3em; font-size:90%; background-color:#CEE0F2; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Physics| Physics / Simulation]]}}}
 
 
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 
 
| style="padding:0 .3em; background-color:#CEE0F2; font-size:90%; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Networking| Networking]]}}}
 
 
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 
 
| style="padding:0.3em; font-size:90%; background-color:#CEE0F2; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Sound| Sound]]}}}
 
 
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 
 
| style="padding:0 .3em; background-color:#CEE0F2; font-size:90%; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Development| Development]]}}}
 
|-
 
{|cellspacing="10px" valign="top" style="background:white; border-left:2px solid #A3B1BF; border-right:2px solid #A3B1BF"
 
|-
 
| valign="top"|
 
 
{| align="right"
 
  | __TOC__
 
  |}
 
 
== General Purpose Effect Scripts ==
 
== General Purpose Effect Scripts ==
  
*[[3D Physics Based Rope]] - This script makes 3D physics based ropes for things like powerlines blowing in the wind, hoses flopping around, ropes you can swing on, and more. Basically all you have to do is drop this script into one object (Use included modified code).
 
 
*[[Animating Tiled texture]] - A texture made of many tiles animated through setting the uv offsets
 
*[[Animating Tiled texture]] - A texture made of many tiles animated through setting the uv offsets
 
*[[Animating Tiled texture - Extended]] - Use one animation cell-sheet texture for many animations and skins.
 
*[[Animating Tiled texture - Extended]] - Use one animation cell-sheet texture for many animations and skins.
 
*[[Animated Color Procedural Texture]] - A simple script to make limitless number of textures based on 2d graphs
 
*[[Animated Color Procedural Texture]] - A simple script to make limitless number of textures based on 2d graphs
*[[ArcBall]] - Rotate an object in an intuitive way on mouse drag.
+
*[[ArcBall]] - Drag the mouse to rotate an object in an intuitive way.
 
*[[CameraFacingBillboard]] - Use this script on a billboard or similar object to make it align itself with the camera.
 
*[[CameraFacingBillboard]] - Use this script on a billboard or similar object to make it align itself with the camera.
 +
*[[CameraRelativeScale]] - Scale an object relative to camera distance.
 
*[[CameraRenderSettings]] - Allows storing seperate render settings per camera - an extended version of the Fog Layer script above.
 
*[[CameraRenderSettings]] - Allows storing seperate render settings per camera - an extended version of the Fog Layer script above.
 +
*[[Camera Shake]] - Adds a Camera Shaking effect to the gameObject it is placed on.
 
*[[Character Shadow]] - Cast shadows from an object! ''(requires Unity Pro)''
 
*[[Character Shadow]] - Cast shadows from an object! ''(requires Unity Pro)''
 +
*[[Cubemap Generator]] - Create a static cubemap from a camera ''(Unity Pro)''
 
*[[DoFAutoFocus]] - An autofocus component for the Pro Depth of Field (DoF) Imageeffect ('''C#''')('''Pro''').
 
*[[DoFAutoFocus]] - An autofocus component for the Pro Depth of Field (DoF) Imageeffect ('''C#''')('''Pro''').
 +
*[[FadeObjectInOut]] - Simple and clean method of fading objects with children.
 +
*[[Flare Creator]] - This Script Makes a number of flares in random positions around the map.
 
*[[Flickering Light]] - Adds flickering effect to Light object. Flicker styles are Campfire and Fluorescent.
 
*[[Flickering Light]] - Adds flickering effect to Light object. Flicker styles are Campfire and Fluorescent.
 +
*[[Flickering Light2]] - Adds a flickering effect to the light in a different way.
 
*[[Flocking]] - A flocking script with randomness and target following.
 
*[[Flocking]] - A flocking script with randomness and target following.
*[[Fog Layer]] - Lets you determine per camera if fog should be enabled or disabled
+
*[[Fog Layer]] - Lets you determine per camera if fog should be enabled or disabled.
*[[LineRenderer Rope]] - Creates a rope using physics and the LineRenderer component.
+
*[[GlowImposter Script]] - This script uses a flat plane to generate a cool graphical effect that mimics a glowing.
 +
*[[LightBehavior]] - A script that creates blinking lights and turn on/off every specified interval. Also change the light's colors.
 +
*[[LightMapSwitcher]] - A script that allows you to switch between to sets of LightMaps at runtime, with easy inspector integration.
 
*[[LookAtCameraYonly]] - Use this script on a billboard or other object to have it face the camera but only rotate on the Y axis.
 
*[[LookAtCameraYonly]] - Use this script on a billboard or other object to have it face the camera but only rotate on the Y axis.
 
*[[MeleeWeaponTrail]] - A smoothed TrailRenderer meant for melee weapons of animated 3d models. Based on [[TimeBasedTrailRenderer]].
 
*[[MeleeWeaponTrail]] - A smoothed TrailRenderer meant for melee weapons of animated 3d models. Based on [[TimeBasedTrailRenderer]].
Line 67: Line 33:
 
*[[OptimizedTrailRenderer]] - Started from Yoggy's trail renderer above, this one updates every frame and is built for one-time use.
 
*[[OptimizedTrailRenderer]] - Started from Yoggy's trail renderer above, this one updates every frame and is built for one-time use.
 
*[[Particle Spiral Effect]] - Particle effect script for creating spirals, whirlpools, galaxies, etc.
 
*[[Particle Spiral Effect]] - Particle effect script for creating spirals, whirlpools, galaxies, etc.
 +
*[[PlayMovieTexture]] - Plays Movie Textures at the start of your game. ''Requires Unity Pro''.
 
*[[Perlin Noise]] - Noise functions for smoothly moving objects around or anything else
 
*[[Perlin Noise]] - Noise functions for smoothly moving objects around or anything else
 
*[[ReverseNormals]] - Reverses normals & back face culling of a mesh
 
*[[ReverseNormals]] - Reverses normals & back face culling of a mesh
 +
*[[RenderTexture Free]] - Render Texture with Unity Free.
 
*[[Scrolling UVs]] - C# script that smoothly scrolls a material's UVs in an arbitrary direction.  Supports arbitrary material names and material indices.
 
*[[Scrolling UVs]] - C# script that smoothly scrolls a material's UVs in an arbitrary direction.  Supports arbitrary material names and material indices.
 
*[[SetRenderQueue]] - Sets the render queue for transparency sorting on an object or all of its children.
 
*[[SetRenderQueue]] - Sets the render queue for transparency sorting on an object or all of its children.
Line 79: Line 47:
 
*[[TextureMask]] - A simple shader for masking off areas of a texture.
 
*[[TextureMask]] - A simple shader for masking off areas of a texture.
 
*[[Texture swap animator]] - Feed it a bunch of textures and it will cycle through them. Useful for simple animations not on a texture atlas.
 
*[[Texture swap animator]] - Feed it a bunch of textures and it will cycle through them. Useful for simple animations not on a texture atlas.
 +
*[[TextureFilter]] - A set of methods to apply standard image processing on a Texture2D. Not meant for a screen post process.
 +
*[[TextureFromCamera]] - A behaviour that textures a GameObject with what the given Camera sees.
 
*[[TubeRenderer]] - LineRenderer too flat? Make it a tube instead.
 
*[[TubeRenderer]] - LineRenderer too flat? Make it a tube instead.
 +
*[[Tileable Noise]] - Simplex noise (faster than Perlin noise), perfectly tileable, without any artifacts.
 
*[[TimeBasedTrailRenderer]] - The Built in trail renderer does not fade its segments based on the time they have been alive. This one does.
 
*[[TimeBasedTrailRenderer]] - The Built in trail renderer does not fade its segments based on the time they have been alive. This one does.
 
*[[Trail Arc Renderer]] - Designed for melee trail swings, this creates a trail using Catmull-Rom spline interpolation
 
*[[Trail Arc Renderer]] - Designed for melee trail swings, this creates a trail using Catmull-Rom spline interpolation
 +
*[[TrailRendererWith2DCollider]] - A trail renderer that can detect 2D collisions.
 
*[[Underwater Script]] - Simple underwater effects script. Works with indie!
 
*[[Underwater Script]] - Simple underwater effects script. Works with indie!
 
*[[VectorLine]] - Renders a 2D vector line with an arbitrary width, color, and number of segments ''(requires Unity Pro)''
 
*[[VectorLine]] - Renders a 2D vector line with an arbitrary width, color, and number of segments ''(requires Unity Pro)''
 +
*[[Slideshow]] - Draws a slideshow of textures at a specified interval.
  
 
== Image Postprocessing Effects ==
 
== Image Postprocessing Effects ==
Line 92: Line 65:
 
*[[BoostColors]] - A very simple and fast way to boost the contrast of saturation of the graphics in your game.
 
*[[BoostColors]] - A very simple and fast way to boost the contrast of saturation of the graphics in your game.
 
*[[InvertCamera]] - A simple script that will invert everything rendered by a camera.
 
*[[InvertCamera]] - A simple script that will invert everything rendered by a camera.
 
|}
 
<div style="border:2px solid #A3B1BF;padding:.5em 1em 1em 1em; border-top:none; border-bottom:2px solid #A3B1BF;  border-right:2px solid #A3B1BF; background-color:#ffffff; color:#000;">
 
 
</div>
 

Latest revision as of 22:40, 5 November 2018

Scripts   General   Editor   Controllers   UI   Effects   Physics/Simulation   Networking   Audio   Utility

[edit] General Purpose Effect Scripts

  • Animating Tiled texture - A texture made of many tiles animated through setting the uv offsets
  • Animating Tiled texture - Extended - Use one animation cell-sheet texture for many animations and skins.
  • Animated Color Procedural Texture - A simple script to make limitless number of textures based on 2d graphs
  • ArcBall - Drag the mouse to rotate an object in an intuitive way.
  • CameraFacingBillboard - Use this script on a billboard or similar object to make it align itself with the camera.
  • CameraRelativeScale - Scale an object relative to camera distance.
  • CameraRenderSettings - Allows storing seperate render settings per camera - an extended version of the Fog Layer script above.
  • Camera Shake - Adds a Camera Shaking effect to the gameObject it is placed on.
  • Character Shadow - Cast shadows from an object! (requires Unity Pro)
  • Cubemap Generator - Create a static cubemap from a camera (Unity Pro)
  • DoFAutoFocus - An autofocus component for the Pro Depth of Field (DoF) Imageeffect (C#)(Pro).
  • FadeObjectInOut - Simple and clean method of fading objects with children.
  • Flare Creator - This Script Makes a number of flares in random positions around the map.
  • Flickering Light - Adds flickering effect to Light object. Flicker styles are Campfire and Fluorescent.
  • Flickering Light2 - Adds a flickering effect to the light in a different way.
  • Flocking - A flocking script with randomness and target following.
  • Fog Layer - Lets you determine per camera if fog should be enabled or disabled.
  • GlowImposter Script - This script uses a flat plane to generate a cool graphical effect that mimics a glowing.
  • LightBehavior - A script that creates blinking lights and turn on/off every specified interval. Also change the light's colors.
  • LightMapSwitcher - A script that allows you to switch between to sets of LightMaps at runtime, with easy inspector integration.
  • LookAtCameraYonly - Use this script on a billboard or other object to have it face the camera but only rotate on the Y axis.
  • MeleeWeaponTrail - A smoothed TrailRenderer meant for melee weapons of animated 3d models. Based on TimeBasedTrailRenderer.
  • MarchingSquares - MarchingSquares (2D Surface Reconstruction)
  • MeshMorpher - A Mesh Morpher script with scripting API
  • MetaBalls - 3D Metaballs
  • MorphTargets - Improved MeshMorpher script with multiple blendable targets
  • Noise Library - LibNoise ported to Unity. Perlin, Multirigged Fractal, Voronoi, Billow
  • Open Source Particle System - A custom particle system that exposes particle movement deltaTime among other things.
  • OptimizedTrailRenderer - Started from Yoggy's trail renderer above, this one updates every frame and is built for one-time use.
  • Particle Spiral Effect - Particle effect script for creating spirals, whirlpools, galaxies, etc.
  • PlayMovieTexture - Plays Movie Textures at the start of your game. Requires Unity Pro.
  • Perlin Noise - Noise functions for smoothly moving objects around or anything else
  • ReverseNormals - Reverses normals & back face culling of a mesh
  • RenderTexture Free - Render Texture with Unity Free.
  • Scrolling UVs - C# script that smoothly scrolls a material's UVs in an arbitrary direction. Supports arbitrary material names and material indices.
  • SetRenderQueue - Sets the render queue for transparency sorting on an object or all of its children.
  • Shadow Volumes in Alpha - Shadow volume based shadows (requires Unity Pro)
  • Skinned Morph Targets - A set of scripts for morphing skinned meshes, including support for animating blend shapes together with skeletal animation.
  • SoftBodies - Cloth, Springy Noodles, Jello Blocks, etc..
  • StopEmittingAfterDelay - After a configurable delay, particles will fade naturally, then finally the object will get destroyed with autodestruct.
  • Spline Controller - Interpolates any GameObject along a user-defined spline
  • SVG - Render SVG Files.
  • TextureMask - A simple shader for masking off areas of a texture.
  • Texture swap animator - Feed it a bunch of textures and it will cycle through them. Useful for simple animations not on a texture atlas.
  • TextureFilter - A set of methods to apply standard image processing on a Texture2D. Not meant for a screen post process.
  • TextureFromCamera - A behaviour that textures a GameObject with what the given Camera sees.
  • TubeRenderer - LineRenderer too flat? Make it a tube instead.
  • Tileable Noise - Simplex noise (faster than Perlin noise), perfectly tileable, without any artifacts.
  • TimeBasedTrailRenderer - The Built in trail renderer does not fade its segments based on the time they have been alive. This one does.
  • Trail Arc Renderer - Designed for melee trail swings, this creates a trail using Catmull-Rom spline interpolation
  • TrailRendererWith2DCollider - A trail renderer that can detect 2D collisions.
  • Underwater Script - Simple underwater effects script. Works with indie!
  • VectorLine - Renders a 2D vector line with an arbitrary width, color, and number of segments (requires Unity Pro)
  • Slideshow - Draws a slideshow of textures at a specified interval.

[edit] Image Postprocessing Effects

These scripts require Unity Pro.

  • BloomEffect (OBSOLETE) - Sometimes referred to as "glow", use this effect to make bright parts in your scene bleed. This script is made obsolete by the GlowEffect shipped with Unity 1.5.
  • BoostColors - A very simple and fast way to boost the contrast of saturation of the graphics in your game.
  • InvertCamera - A simple script that will invert everything rendered by a camera.
Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox