The Wayback Machine - https://web.archive.org/web/20201111112306/https://github.com/topics/unity
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 12,054 public repositories matching this topic...

open-project-1
GFX5000i
GFX5000i commented Nov 9, 2020

Short description
Trying to build the project will result in failure due to the Component Assets/Scripts/ClickToPlaceHelper.cs using Editor functionality.

Expected behaviour
Any references to the UnityEditor should be inside an Editor folder or a dedicated assembly definition.

To Reproduce

  1. Go to File > Build Setting > Build
  2. After a few seconds the build will return wi
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.