Ejemplo n.º 1
0
 override public void Dispose()
 {
     if (_content.texture != null)
     {
         if (_contentItem == null)
         {
             _content.texture.onSizeChanged -= _reloadDelegate;
             try
             {
                 FreeExternal(_content.texture);
             }
             catch (Exception err)
             {
                 Debug.LogWarning(err);
             }
         }
     }
     if (_errorSign != null)
     {
         _errorSign.Dispose();
     }
     if (_content2 != null)
     {
         _content2.Dispose();
     }
     _content.Dispose();
     base.Dispose();
 }
Ejemplo n.º 2
0
 override public void Dispose()
 {
     if (_content.texture != null)
     {
         if (_contentItem == null)
         {
             FreeExternal(image.texture);
         }
     }
     _content.Dispose();
     base.Dispose();
 }
Ejemplo n.º 3
0
		override public void Dispose()
		{
			if (_content.texture != null)
			{
				if (_contentItem == null)
					FreeExternal(image.texture);
			}
			if (_errorSign != null)
				_errorSign.Dispose();
			if (_content2 != null)
				_content2.Dispose();
			_content.Dispose();
			base.Dispose();
		}
Ejemplo n.º 4
0
 override public void Dispose()
 {
     if (_image.texture != null)
     {
         if (_contentItem == null)
         {
             FreeExternal(image.texture);
         }
     }
     _image.Dispose();
     if (_movieClip != null)
     {
         _movieClip.Dispose();
     }
     base.Dispose();
 }
Ejemplo n.º 5
0
 override public void Dispose()
 {
     if (_content.texture != null)
     {
         if (_contentItem == null)
         {
             image.texture.onSizeChanged -= _reloadDelegate;
             FreeExternal(image.texture);
         }
     }
     if (_errorSign != null)
     {
         _errorSign.Dispose();
     }
     if (_content2 != null)
     {
         _content2.Dispose();
     }
     _content.Dispose();
     base.Dispose();
 }