Unity (game engine)
|Stable release||4.3.4 / January 2014|
|Written in||C++ is used for the core engine, which is exposed through C#, in which the IDE is programmed.|
|Type||Game creation system|
Unity is a cross-platform game engine with a built-in IDE developed by Unity Technologies. It is used to develop video games for web plugins, desktop platforms, consoles and mobile devices. It grew from an OS X supported game development tool in 2005 to a multi-platform game engine.
The graphics engine uses Direct3D (Windows, Xbox 360), OpenGL (Mac, Windows, Linux), OpenGL ES (Android, iOS), and proprietary APIs (consoles). There is support for bump mapping, reflection mapping, parallax mapping, screen space ambient occlusion (SSAO), dynamic shadows using shadow maps, render-to-texture and full-screen post-processing effects.
Unity supports art assets and file formats from 3ds Max, Maya, Softimage, Blender, modo, ZBrush, Cinema 4D, Cheetah3D, Adobe Photoshop, Adobe Fireworks and Allegorithmic Substance. These assets can be added to the game project, and managed through Unity's graphical user interface.
The ShaderLab language is used for shaders, supporting both declarative "programming" of the fixed-function pipeline and shader programs written in GLSL or Cg. A shader can include multiple variants and a declarative fallback specification, allowing Unity to detect the best variant for the current video card, and if none are compatible, fall back to an alternative shader that may sacrifice features for performance.
Unity also includes the Unity Asset Server - a version control solution for the developer's game assets and scripts. It uses PostgreSQL as a backend, an audio system built on the FMOD library (with ability to playback Ogg Vorbis compressed audio), video playback using the Theora codec, a terrain and vegetation engine (which supports tree billboarding, Occlusion Culling with Umbra), built-in lightmapping and global illumination with Beast, multiplayer networking using RakNet, and built-in pathfinding navigation meshes.
Unity supports deployment to multiple platforms. Within a project, developers have control over delivery to mobile devices, web browsers, desktops, and consoles. Unity also allows specification of texture compression and resolution settings for each platform the game supports.
Currently supported platforms include Playstation 4, Xbox One, BlackBerry 10, Windows 8, Windows Phone 8, Windows, Mac, Linux, Android, iOS, Unity Web Player, Adobe Flash, PlayStation 3, Xbox 360, Wii U and Wii. Although not officially confirmed, Unity also supports the PlayStation Vita as can be seen on the games Escape Plan and Oddworld: New 'n' Tasty.
Unity also has built-in support for Nvidia's (formerly Ageia's) PhysX physics engine (as of Unity 3.0) with added support for real-time cloth simulation on arbitrary and skinned meshes, thick ray casts, and collision layers. Unity 4.3 introduced built-in support for the Box2D physics engine for 2D games.
The first version of Unity was launched at Apple’s Worldwide Developers Conference in 2005. It was built to function and build projects on Mac computers and garnered enough success to continue development of the engine and tools for other platforms. Unity 3 was released in September 2010 and focused on introducing more of the tools that high-end studios have at their disposal. This allowed the company to capture the interest of bigger developers while providing independent and smaller teams with a game engine in one affordable package. The latest version of Unity, Unity 4.0, was released in late 2012, and includes additions such as Mecanim animation and DirectX 11 support.
Unity 3.5 was one of the largest releases for the Unity development platform and added new features and improvements to existing technology. These included the Shuriken particle system, navmesh for pathfinding and obstacle avoidance, linear space (gamma correct) lighting, HDR rendering, multi-threaded rendering, light probes, Google Native Client deployment, re-written occlusion culling, built-in level of detail support, Adobe Flash Player add-on preview, GPU profiler, and directional lightmaps.
Unity 4 was announced on June 18, 2012 and includes several new additions to the technology in the initial Unity 4.0 release. The Unity 4 release cycle will, like previous releases, include several updates with additional features over the course of its lifespan, such as the new Retained GUI, which is due in a future 4.x update. It was released on November 14, 2012.
New features include DirectX 11 support and Mecanim animation. Mobile graphics enhancements include real-time shadows, skinned mesh instancing, the ability to use normal maps when baking lightmaps and a refined GPU profiler. Furthermore, the Adobe Flash deployment add-on has also been released with Unity 4.0. While deployment has been possible for those with the Unity 3.5 compatible beta tool, the final release of the deployment add-on will require Unity 4. Unity 4.2 is rumored to feature shadow support for the free version. However, it has some limitations such as restricted to only one directional light and "hard" shadows.
Unity 4 also includes a new deployment option to publish games to Linux desktops. While the deployment add-on can potentially work with various forms of Linux, development is primarily focused on Ubuntu for its primary release. This deployment option will be provided to all Unity 4 users at no additional cost. Engineers from Unity work with Ubuntu in Canonical's team for games. Since version 4, Unity is working in collaboration with Facebook to launch an improved Unity experience on the social platform through its Unity Web Player.
The Unity 4.3 release on November 12th 2013 introduced native 2D support. The release includes support for sprites, improved animation support, 2D Physics and more. The development environment is similar to the 3D game engine.
Mecanim is Unity's animation technology that has been in development for years, first by the company of the same name, and then at the Unity Canada offices following the acquisition. The technology is built to bring fluid and natural motion to characters with an efficient interface. Mecanim includes tools for creating state machines, blend trees, IK rigging, and automatic retargeting of animations from within the Unity editor.
Additionally, an array of retargetable animations were available in the Unity Asset Store upon launch of the tool. Many of these animation files use motion capture and are provided at no cost by Unity Technologies.
- Shuriken particle system supports external forces, bent normals and automatic culling
- 3D texture support
- Navigation: dynamic obstacles and avoidance priority
- Major optimizations in UnityGUI performance and memory usage
- Dynamic fonts on all platforms with HTML-like markup
- Remote Unity Web Player debugging
- New Project Window workflows
- Iterative lightmap baking
- Refined component-based workflows
- Extensible inspectors for custom classes
- Improved Cubemap import pipeline
- Geometry data improvements for huge memory and performance savings
- Meshes can be constructed from non-triangle geometry—render points & lines efficiently
- Search, live preview and buy Asset Store assets from the Project Window
The Unity community has around 2 million registered developers as of January 11th 2014.
Launched in November 2010, the Unity Asset Store is a resource available within the Unity editor. The store consists of a collection of over 4,400 asset packages, including 3D models, textures and materials, particle systems, music and sound effects, tutorials and projects, scripting packages, editor extensions and online services.
There are two main licenses for developers: Unity Free and Unity Pro. Unity Pro is available for $1500. Unity Free is free as long as the user is not a commercial organization with annual gross revenues in excess of US$100,000, or an educational, academic, non-profit or government entity with a total annual budget for the entire entity in excess of US$100,000.
The Pro version has additional features, such as render-to-texture, occlusion culling, global lighting and post-processing effects. The Free version, on the other hand, displays a splash screen (in standalone games) and a watermark (in web games) that cannot be customized or disabled.
Both Unity Free and Unity Pro include the development environment, tutorials, sample projects and content, support via web forums, wiki access, and future updates in the same major version (i.e. buying Unity Pro 4 gets all future Unity Pro 4.x updates for free).
In May of 2013 Unity Technologies announced that Unity for Android, iOS, Windows Phone 8, BlackBerry 10, and Windows Store are included with the free Unity license. A Unity Pro license will still be required to purchase an Android Pro or iOS Pro license. However, as of April 23rd, 2013, Unity dropped Flash support because they don't see Adobe being committed to the development of it in the future.
The Unity Manual is split into multiple sections.
- User Guide - Discusses the interface and core building-blocks.
- Unity Basics - Provides beginner information on getting started with the engine.
- Reference Manual - Details on working in-depth with various aspects of Unity.
- Scripting Reference - Details of the scripting API that Unity provides with class interfaces and example code.
- Meijer, Lucas. "Is Unity Engine written in Mono/C# or C++?". Retrieved 2011-04-26.
- GNU/Linux is not supported
- "Using DirectX11 in Unity 4". Unity Technologies. Retrieved 19 February 2013.
- "How do I import objects from my 3D app?". Unity Technologies. Retrieved 19 February 2013.
- "Shaders". Unity Technologies. Retrieved 19 February 2013.
- "Using Scripts". Unity Technologies. Retrieved 19 February 2013.
- "Getting started with Mono Develop". Unity Technologies. Retrieved 19 February 2013.
- "Asset Server (Pro Only)". Unity Technologies. Retrieved 19 February 2013.
- "Unleash your game with effortless deployment to 10 global platforms". Unity Technologies. Retrieved 19 February 2013.
- "Physics". Unity Technologies. Retrieved 19 February 2013.
- "Unity 2D and 3D". Unity Technologies. Retrieved 28 February 2014.
- "Unity - Fast Facts". Retrieved 5 February 2013.
- "Unity 3.5". Retrieved 23 September 2012.
- "Unity 4.0 Launches". MarketWire. Retrieved 5 February 2013.
- "What's new in Unity 4?". Unity Technologies. Retrieved 19 February 2013.
- "Introducing Unity 4 - Unity Videos". Video.unity3d.com. Retrieved 2012-11-07.
- "Unity 4 Details". Forum.unity3d.com. Retrieved 2012-11-07.
- "Unity 4 - Linux Export - Unity Videos". Video.unity3d.com. Retrieved 2012-11-07.
- "Linux Support :D". Forum.unity3d.com. Retrieved 2012-11-07.
- "UNITY: License Comparison". Unity3d.com. Retrieved 2012-11-07.
- three engineers from games company Unity 3D
- "Unity License Comparison". Unity Technologies.
- "Unity Software License Agreement 4.x". Unity Technologies. 23 July 2013. Retrieved 5 September 2013.
- "Putting the power of Unity in the hands of every mobile developer". Unity Technologies.
- "Sunsetting Flash". Unity Technologies. Retrieved 23 April 2013.
- "UNITY". Unity Technologies.
|Wikimedia Commons has media related to Unity (game engine).|