Scripts/Development

From Unify Community Wiki
Jump to: navigation, search
General   Editor   Controllers   GUI   Effects   Physics / Simulation   Networking   Sound   Development

Contents

Debugging Scripts

  • AllocationStats - AllocationStats is a simple helper utility for showing how much memory your application has allocated. It uses GC.GetTotalMemory to keep track of the memory usage.
  • DetectLeaks - This script will displays the number of allocated unity objects by type. This is useful for finding leaks. Knowing the type of object (mesh, texture, sound clip, game object) that is getting leaked is the first step.
  • DebugConsole - A script to allow scrolling feedback from your scripts.
  • DebuggerX - A simple javascript singleton that allows you to send debug to the console or the GUI
  • DebugLine - Like the Debug.DrawRay() and DrawLine() functions, but uses the lineRenderer component to draw in the Game window.
  • DrawArrow - builds upon Debug.DrawRay() to add arrowheads at the tip
  • NUnit - de-facto standard for unit testing in .NET
  • Profiler - a simple c# script for profiling the performance of scripts, based on tags
  • Reporter - a simple delayed action system info script that could be used for support purposes
  • UUnit - a Simple xUnit framework that can be run inside Unity.
  • SharpUnit - a unit testing framework adapted from UUnit but written in C#. Can also be run inside Unity3D.
  • TestStar - full featured editor extension inspired by UUnit/SharpUnit. Uses NUnit to provide assert syntax. (non free)
  • FindMissingScripts - Editor script that allows you to select a bunch of game objects and check if the link to their MonoBehavior script(s) are broken/missing.
  • DetectDynamicBatching - Script+shader that helps you detect which meshes are batched dynamically and which aren't.
  • GetTotalMemoryTest - Script to help illustrate Mono memory allocation mechanics. Indicates that System.GC.GetTotalMemory always changes by multiples of 4096 bytes.

Performance Scripts

  • CombineChildrenBones - Similar to MeshMerger, this script combines MeshFilter meshes into a single skinned mesh and then tracks transform changes
  • CombineSkinnedMeshes - A Script that allows to combine multiple skinned meshes to just one SkinnedMeshRenderer. Useful for Avatar System!
  • SkinnedMeshCombiner - This script will combine skinned meshes whilst retaining their animation and texture properties.
  • SkinMeshCombineUtility - Script to work with CombineSkinnedMeshes.
  • SpriteManager - A script that allows many independently-moving 2D sprites to be drawn using a single draw call. This is particularly useful to increase iPhone performance.
  • StaticPerformanceOptimization - A script that optimizes performance statically based on the users graphics card by dropping terrain resolution and quality settings
Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Tools