Skip to content
#

Unity

unity logo

Unity is a game development platform used to build high-quality 3D/2D games that can deployed across mobile, desktop, VR/AR, consoles, or the web.

Here are 11,637 public repositories matching this topic...

shana
shana commented Jul 5, 2017

We should add the Dispose pattern to the style guide so we don't have to go hunting for it whenever we need it. We should also audit the existing code to make sure it follows the correct pattern where it needs to.

private bool disposed;
public virtual void Dispose(bool disposing)
{
    if (disposed) return;
    disposed = true;
    if (disposing) {
        // dispose managed stuff
 

Created by Unity Technologies

Organization
Unity-Technologies
Website
unity3d.com
You can’t perform that action at this time.