# MaterialEditor

> The Unity Material Editor.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule
* **Inherits from:** [Editor](/engine/6000.5/script-reference/unityeditor/editor.md)

```csharp
[CustomEditor(typeof(Material))]
public class MaterialEditor : Editor
```

## Remarks

Extend this class to write your own custom material editor. For more detailed information see the [Custom Material Editor](/engine/6000.5/manual/materials-and-shaders/shaders/reference/sl-reference/sl-shader-object/sl-custom-editor.md) section of the [ShaderLab reference](/engine/6000.5/manual/materials-and-shaders/shaders/reference/sl-reference/sl-shader-object/sl-shader.md).

## Static Fields

| Value                                                                                                                                | Description                                                                             |
| ------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------- |
| [kMiniTextureFieldLabelIndentLevel](/engine/6000.5/script-reference/unityeditor/materialeditor/kminitexturefieldlabelindentlevel.md) | Useful for indenting shader properties that need the same indent as mini texture field. |

## Properties

| Property                                                                                         | Description                                                                                                         |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------- |
| [customShaderGUI](/engine/6000.5/script-reference/unityeditor/materialeditor/customshadergui.md) | Returns the custom [ShaderGUI](/engine/6000.5/script-reference/unityeditor/shadergui.md) implemented by the shader. |
| [isVisible](/engine/6000.5/script-reference/unityeditor/materialeditor/isvisible.md)             | Is the current material expanded.                                                                                   |

## Methods

| Method                                                                                                                       | Description                                                                                                                                                                                                                                                                                                                     |
| ---------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Awake](/engine/6000.5/script-reference/unityeditor/materialeditor/awake.md)                                                 | Called when the Editor is woken up.                                                                                                                                                                                                                                                                                             |
| [BeginAnimatedCheck](/engine/6000.5/script-reference/unityeditor/materialeditor/beginanimatedcheck.md)                       | Creates a Property wrapper, useful for making regular GUI controls work with [MaterialProperty](/engine/6000.5/script-reference/unityeditor/materialproperty.md).                                                                                                                                                               |
| [ColorProperty](/engine/6000.5/script-reference/unityeditor/materialeditor/colorproperty.md)                                 | Draw a property field for a color shader property.                                                                                                                                                                                                                                                                              |
| [CreatePreview](/engine/6000.5/script-reference/unityeditor/materialeditor/createpreview.md)                                 | See [Editor.CreatePreview](/engine/6000.5/script-reference/unityeditor/editor/createpreview.md).                                                                                                                                                                                                                                |
| [DefaultPreviewGUI](/engine/6000.5/script-reference/unityeditor/materialeditor/defaultpreviewgui.md)                         | Default handling of preview area for materials.                                                                                                                                                                                                                                                                                 |
| [DefaultPreviewSettingsGUI](/engine/6000.5/script-reference/unityeditor/materialeditor/defaultpreviewsettingsgui.md)         | Default toolbar for material preview area.                                                                                                                                                                                                                                                                                      |
| [DefaultShaderProperty](/engine/6000.5/script-reference/unityeditor/materialeditor/defaultshaderproperty.md)                 | Handles UI for one shader property ignoring any custom drawers.                                                                                                                                                                                                                                                                 |
| [DoubleSidedGIField](/engine/6000.5/script-reference/unityeditor/materialeditor/doublesidedgifield.md)                       | Display UI for editing a material's Double Sided Global Illumination setting. Returns true if the UI is indeed displayed i.e. the material supports the Double Sided Global Illumination setting. +Additional Resources: [Material.doubleSidedGI](/engine/6000.5/script-reference/unityengine/material/doublesidedgi.md).       |
| [EmissionEnabledProperty](/engine/6000.5/script-reference/unityeditor/materialeditor/emissionenabledproperty.md)             | This function will draw the UI for controlling whether emission is enabled or not on a material.                                                                                                                                                                                                                                |
| [EnableInstancingField](/engine/6000.5/script-reference/unityeditor/materialeditor/enableinstancingfield.md)                 | Display UI for editing material's render queue setting.                                                                                                                                                                                                                                                                         |
| [EndAnimatedCheck](/engine/6000.5/script-reference/unityeditor/materialeditor/endanimatedcheck.md)                           | Ends a Property wrapper started with [MaterialEditor.BeginAnimatedCheck](/engine/6000.5/script-reference/unityeditor/materialeditor/beginanimatedcheck.md).                                                                                                                                                                     |
| [FloatProperty](/engine/6000.5/script-reference/unityeditor/materialeditor/floatproperty.md)                                 | Draw a property field for a float shader property.                                                                                                                                                                                                                                                                              |
| [GetPropertyHeight](/engine/6000.5/script-reference/unityeditor/materialeditor/getpropertyheight.md)                         | Calculate height needed for the property.                                                                                                                                                                                                                                                                                       |
| [GetTexturePropertyCustomArea](/engine/6000.5/script-reference/unityeditor/materialeditor/gettexturepropertycustomarea.md)   | Returns the free rect below the label and before the large thumb object field. Is used for e.g. tiling and offset properties.                                                                                                                                                                                                   |
| [HasPreviewGUI](/engine/6000.5/script-reference/unityeditor/materialeditor/haspreviewgui.md)                                 | Can this component be Previewed in its current state?                                                                                                                                                                                                                                                                           |
| [HelpBoxWithButton](/engine/6000.5/script-reference/unityeditor/materialeditor/helpboxwithbutton.md)                         | Make a help box with a message and button. Returns true, if button was pressed.                                                                                                                                                                                                                                                 |
| [IntegerProperty](/engine/6000.5/script-reference/unityeditor/materialeditor/integerproperty.md)                             | Draw a property field for an integer shader property.                                                                                                                                                                                                                                                                           |
| [IsInstancingEnabled](/engine/6000.5/script-reference/unityeditor/materialeditor/isinstancingenabled.md)                     | Determines whether the Enable Instancing checkbox is checked.                                                                                                                                                                                                                                                                   |
| [LightmapEmissionFlagsProperty](/engine/6000.5/script-reference/unityeditor/materialeditor/lightmapemissionflagsproperty.md) | Draws the UI for setting the global illumination flag of a material.                                                                                                                                                                                                                                                            |
| [LightmapEmissionProperty](/engine/6000.5/script-reference/unityeditor/materialeditor/lightmapemissionproperty.md)           | This function will draw the UI for the lightmap emission property. (None, Realtime, baked)                                                                                                                                                                                                                                      |
| [OnDisable](/engine/6000.5/script-reference/unityeditor/materialeditor/ondisable.md)                                         | Called when the editor is disabled, if overridden please call the base OnDisable() to ensure that the material inspector is set up properly.                                                                                                                                                                                    |
| [OnEnable](/engine/6000.5/script-reference/unityeditor/materialeditor/onenable.md)                                           | Called when the editor is enabled, if overridden please call the base OnEnable() to ensure that the material inspector is set up properly.                                                                                                                                                                                      |
| [OnInspectorGUI](/engine/6000.5/script-reference/unityeditor/materialeditor/oninspectorgui.md)                               | Implement specific MaterialEditor GUI code here. If you want to simply extend the existing editor call the base OnInspectorGUI () before doing any custom GUI code.                                                                                                                                                             |
| [OnPreviewGUI](/engine/6000.5/script-reference/unityeditor/materialeditor/onpreviewgui.md)                                   | Custom preview for Image component.                                                                                                                                                                                                                                                                                             |
| [OnShaderChanged](/engine/6000.5/script-reference/unityeditor/materialeditor/onshaderchanged.md)                             | A callback that is invoked when a Material's Shader is changed in the Inspector.                                                                                                                                                                                                                                                |
| [PropertiesChanged](/engine/6000.5/script-reference/unityeditor/materialeditor/propertieschanged.md)                         | Whenever a material property is changed call this function. This will rebuild the inspector and validate the properties.                                                                                                                                                                                                        |
| [PropertiesDefaultGUI](/engine/6000.5/script-reference/unityeditor/materialeditor/propertiesdefaultgui.md)                   | Default rendering of shader properties.                                                                                                                                                                                                                                                                                         |
| [PropertiesGUI](/engine/6000.5/script-reference/unityeditor/materialeditor/propertiesgui.md)                                 | Render the standard material properties. This method will either render properties using a [ShaderGUI](/engine/6000.5/script-reference/unityeditor/shadergui.md) instance if found otherwise it uses [MaterialEditor.PropertiesDefaultGUI](/engine/6000.5/script-reference/unityeditor/materialeditor/propertiesdefaultgui.md). |
| [RangeProperty](/engine/6000.5/script-reference/unityeditor/materialeditor/rangeproperty.md)                                 | Draw a range slider for a range shader property.                                                                                                                                                                                                                                                                                |
| [RegisterPropertyChangeUndo](/engine/6000.5/script-reference/unityeditor/materialeditor/registerpropertychangeundo.md)       | Call this when you change a material property. It will add an undo for the action.                                                                                                                                                                                                                                              |
| [RenderQueueField](/engine/6000.5/script-reference/unityeditor/materialeditor/renderqueuefield.md)                           | Display UI for editing material's render queue setting.                                                                                                                                                                                                                                                                         |
| [RequiresConstantRepaint](/engine/6000.5/script-reference/unityeditor/materialeditor/requiresconstantrepaint.md)             | Does this edit require to be repainted constantly in its current state?                                                                                                                                                                                                                                                         |
| [SetDefaultGUIWidths](/engine/6000.5/script-reference/unityeditor/materialeditor/setdefaultguiwidths.md)                     | Set EditorGUIUtility.fieldWidth and labelWidth to the default values that PropertiesGUI uses.                                                                                                                                                                                                                                   |
| [SetShader](/engine/6000.5/script-reference/unityeditor/materialeditor/setshader.md)                                         | Set the shader of the material.                                                                                                                                                                                                                                                                                                 |
| [ShaderProperty](/engine/6000.5/script-reference/unityeditor/materialeditor/shaderproperty.md)                               | Handes UI for one shader property.                                                                                                                                                                                                                                                                                              |
| [TextureCompatibilityWarning](/engine/6000.5/script-reference/unityeditor/materialeditor/texturecompatibilitywarning.md)     | Checks if particular property has incorrect type of texture specified by the material, displays appropriate warning and suggests the user to automatically fix the problem.                                                                                                                                                     |
| [TextureProperty](/engine/6000.5/script-reference/unityeditor/materialeditor/textureproperty.md)                             | Draw a property field for a texture shader property.                                                                                                                                                                                                                                                                            |
| [TexturePropertyMiniThumbnail](/engine/6000.5/script-reference/unityeditor/materialeditor/texturepropertyminithumbnail.md)   | Draw a property field for a texture shader property that only takes up a single line height.                                                                                                                                                                                                                                    |
| [TexturePropertySingleLine](/engine/6000.5/script-reference/unityeditor/materialeditor/texturepropertysingleline.md)         | Method for showing a texture property control with additional inlined properites.                                                                                                                                                                                                                                               |
| [TexturePropertyTwoLines](/engine/6000.5/script-reference/unityeditor/materialeditor/texturepropertytwolines.md)             | Method for showing a compact layout of properties.                                                                                                                                                                                                                                                                              |
| [TexturePropertyWithHDRColor](/engine/6000.5/script-reference/unityeditor/materialeditor/texturepropertywithhdrcolor.md)     | Method for showing a texture property control with a HDR color field and its color brightness float field.                                                                                                                                                                                                                      |
| [TextureScaleOffsetProperty](/engine/6000.5/script-reference/unityeditor/materialeditor/texturescaleoffsetproperty.md)       | Draws tiling and offset properties for a texture.                                                                                                                                                                                                                                                                               |
| [VectorProperty](/engine/6000.5/script-reference/unityeditor/materialeditor/vectorproperty.md)                               | Draw a property field for a vector shader property.                                                                                                                                                                                                                                                                             |

## Static Methods

| Method                                                                                                                                           | Description                                                                                                                                                                                       |
| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [ApplyMaterialPropertyDrawers](/engine/6000.5/script-reference/unityeditor/materialeditor/applymaterialpropertydrawers.md)                       | Apply initial [MaterialPropertyDrawer](/engine/6000.5/script-reference/unityeditor/materialpropertydrawer.md) values.                                                                             |
| [BeginProperty](/engine/6000.5/script-reference/unityeditor/materialeditor/beginproperty.md)                                                     | Creates a wrapper enabling the Unity Editor to display GUI controls for the property.                                                                                                             |
| [EndProperty](/engine/6000.5/script-reference/unityeditor/materialeditor/endproperty.md)                                                         | Closes a property wrapper that begins with [MaterialEditor.BeginProperty](/engine/6000.5/script-reference/unityeditor/materialeditor/beginproperty.md).                                           |
| [FixupEmissiveFlag](/engine/6000.5/script-reference/unityeditor/materialeditor/fixupemissiveflag.md)                                             | Returns a properly set global illlumination flag based on the passed in flag and the given color.                                                                                                 |
| [GetDefaultPropertyHeight](/engine/6000.5/script-reference/unityeditor/materialeditor/getdefaultpropertyheight.md)                               | Calculate height needed for the property, ignoring custom drawers.                                                                                                                                |
| [GetFlexibleRectBetweenFieldAndRightEdge](/engine/6000.5/script-reference/unityeditor/materialeditor/getflexiblerectbetweenfieldandrightedge.md) | Utility method for GUI layouting ShaderGUI. Used e.g for the rect after a left aligned Color field.                                                                                               |
| [GetFlexibleRectBetweenLabelAndField](/engine/6000.5/script-reference/unityeditor/materialeditor/getflexiblerectbetweenlabelandfield.md)         | Utility method for GUI layouting ShaderGUI.                                                                                                                                                       |
| [GetLeftAlignedFieldRect](/engine/6000.5/script-reference/unityeditor/materialeditor/getleftalignedfieldrect.md)                                 | Utility method for GUI layouting ShaderGUI.                                                                                                                                                       |
| [GetMaterialProperties](/engine/6000.5/script-reference/unityeditor/materialeditor/getmaterialproperties.md)                                     | Get shader property information of the materials you pass in.                                                                                                                                     |
| [GetMaterialProperty](/engine/6000.5/script-reference/unityeditor/materialeditor/getmaterialproperty.md)                                         | Get information about a single shader property.                                                                                                                                                   |
| [GetMaterialPropertyNames](/engine/6000.5/script-reference/unityeditor/materialeditor/getmaterialpropertynames.md)                               | Gets the shader property names of the materials you pass in.                                                                                                                                      |
| [GetRectAfterLabelWidth](/engine/6000.5/script-reference/unityeditor/materialeditor/getrectafterlabelwidth.md)                                   | Utility method for GUI layouting ShaderGUI. This is the rect after the label which can be used for multiple properties. The input rect can be fetched by calling: EditorGUILayout.GetControlRect. |
| [GetRightAlignedFieldRect](/engine/6000.5/script-reference/unityeditor/materialeditor/getrightalignedfieldrect.md)                               | Utility method for GUI layouting ShaderGUI.                                                                                                                                                       |
| [TextureScaleOffsetProperty](/engine/6000.5/script-reference/unityeditor/materialeditor/texturescaleoffsetproperty.md)                           | TODO.                                                                                                                                                                                             |

## Inheritance

**Inherited Members:**

* [Editor.SaveChanges()](/engine/6000.5/script-reference/unityeditor/editor/savechanges.md)
* [Editor.DiscardChanges()](/engine/6000.5/script-reference/unityeditor/editor/discardchanges.md)
* [Editor.CreateEditorWithContext(Object\[\], Object, Type)](/engine/6000.5/script-reference/unityeditor/editor/createeditorwithcontext.md)
* [Editor.CreateCachedEditorWithContext(Object, Object, Type, Editor)](/engine/6000.5/script-reference/unityeditor/editor/createcachededitorwithcontext.md#createcachededitorwithcontext\(object-object-type-editor\))
* [Editor.CreateCachedEditorWithContext(Object\[\], Object, Type, Editor)](/engine/6000.5/script-reference/unityeditor/editor/createcachededitorwithcontext.md#createcachededitorwithcontext\(object-object-type-editor\))
* [Editor.CreateCachedEditor(Object, Type, Editor)](/engine/6000.5/script-reference/unityeditor/editor/createcachededitor.md#createcachededitor\(object-type-editor\))
* [Editor.CreateCachedEditor(Object\[\], Type, Editor)](/engine/6000.5/script-reference/unityeditor/editor/createcachededitor.md#createcachededitor\(object-type-editor\))
* [Editor.CreateEditor(Object, Type)](/engine/6000.5/script-reference/unityeditor/editor/createeditor.md#createeditor\(object-type\))
* [Editor.CreateEditor(Object\[\], Type)](/engine/6000.5/script-reference/unityeditor/editor/createeditor.md#createeditor\(object-type\))
* [Editor.DrawDefaultInspector()](/engine/6000.5/script-reference/unityeditor/editor/drawdefaultinspector.md)
* [Editor.Repaint()](/engine/6000.5/script-reference/unityeditor/editor/repaint.md)
* [Editor.CreateInspectorGUI()](/engine/6000.5/script-reference/unityeditor/editor/createinspectorgui.md)
* [Editor.DrawHeader()](/engine/6000.5/script-reference/unityeditor/editor/drawheader.md)
* [Editor.ShouldHideOpenButton()](/engine/6000.5/script-reference/unityeditor/editor/shouldhideopenbutton.md)
* [Editor.DrawFoldoutInspector(Object, Editor)](/engine/6000.5/script-reference/unityeditor/editor/drawfoldoutinspector.md)
* [Editor.GetPreviewTitle()](/engine/6000.5/script-reference/unityeditor/editor/getpreviewtitle.md)
* [Editor.RenderStaticPreview(string, Object\[\], int, int)](/engine/6000.5/script-reference/unityeditor/editor/renderstaticpreview.md)
* [Editor.OnInteractivePreviewGUI(Rect, GUIStyle)](/engine/6000.5/script-reference/unityeditor/editor/oninteractivepreviewgui.md)
* [Editor.OnPreviewSettings()](/engine/6000.5/script-reference/unityeditor/editor/onpreviewsettings.md)
* [Editor.GetInfoString()](/engine/6000.5/script-reference/unityeditor/editor/getinfostring.md)
* [Editor.DrawPreview(Rect)](/engine/6000.5/script-reference/unityeditor/editor/drawpreview.md)
* [Editor.UseDefaultMargins()](/engine/6000.5/script-reference/unityeditor/editor/usedefaultmargins.md)
* [Editor.hasUnsavedChanges](/engine/6000.5/script-reference/unityeditor/editor/hasunsavedchanges.md)
* [Editor.saveChangesMessage](/engine/6000.5/script-reference/unityeditor/editor/savechangesmessage.md)
* [Editor.target](/engine/6000.5/script-reference/unityeditor/editor/target.md)
* [Editor.targets](/engine/6000.5/script-reference/unityeditor/editor/targets.md)
* [Editor.serializedObject](/engine/6000.5/script-reference/unityeditor/editor/serializedobject.md)
* [Editor.finishedDefaultHeaderGUI](/engine/6000.5/script-reference/unityeditor/editor/finisheddefaultheadergui.md)
* [ScriptableObject.CreateInstance(string)](/engine/6000.5/script-reference/unityengine/scriptableobject/createinstance.md#createinstance\(string\))
* [ScriptableObject.CreateInstance(Type)](/engine/6000.5/script-reference/unityengine/scriptableobject/createinstance.md#createinstance\(type\))
* [ScriptableObject.CreateInstance\<T>()](/engine/6000.5/script-reference/unityengine/scriptableobject/createinstance.md)
* [Object.GetEntityId()](/engine/6000.5/script-reference/unityengine/object/getentityid.md)
* [Object.GetHashCode()](/engine/6000.5/script-reference/unityengine/object/gethashcode.md)
* [Object.InstantiateAsync\<T>(T)](/engine/6000.5/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, Transform)](/engine/6000.5/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, Vector3, Quaternion)](/engine/6000.5/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, Transform, Vector3, Quaternion)](/engine/6000.5/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int)](/engine/6000.5/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform)](/engine/6000.5/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Vector3, Quaternion)](/engine/6000.5/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, ReadOnlySpan\<Vector3>, ReadOnlySpan\<Quaternion>)](/engine/6000.5/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform, Vector3, Quaternion)](/engine/6000.5/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform, Vector3, Quaternion, CancellationToken)](/engine/6000.5/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform, ReadOnlySpan\<Vector3>, ReadOnlySpan\<Quaternion>)](/engine/6000.5/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform, ReadOnlySpan\<Vector3>, ReadOnlySpan\<Quaternion>, CancellationToken)](/engine/6000.5/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, InstantiateParameters, CancellationToken)](/engine/6000.5/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, InstantiateParameters, CancellationToken)](/engine/6000.5/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, Vector3, Quaternion, InstantiateParameters, CancellationToken)](/engine/6000.5/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Vector3, Quaternion, InstantiateParameters, CancellationToken)](/engine/6000.5/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, ReadOnlySpan\<Vector3>, ReadOnlySpan\<Quaternion>, InstantiateParameters, CancellationToken)](/engine/6000.5/script-reference/unityengine/object/instantiateasync.md)
* [Object.Instantiate(Object, Vector3, Quaternion)](/engine/6000.5/script-reference/unityengine/object/instantiate.md#instantiate\(object-vector3-quaternion\))
* [Object.Instantiate(Object, Vector3, Quaternion, Transform)](/engine/6000.5/script-reference/unityengine/object/instantiate.md#instantiate\(object-vector3-quaternion-transform\))
* [Object.Instantiate(Object)](/engine/6000.5/script-reference/unityengine/object/instantiate.md#instantiate\(object\))
* [Object.Instantiate(Object, Scene)](/engine/6000.5/script-reference/unityengine/object/instantiate.md#instantiate\(object-scene\))
* [Object.Instantiate\<T>(T, InstantiateParameters)](/engine/6000.5/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Vector3, Quaternion, InstantiateParameters)](/engine/6000.5/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate(Object, Transform)](/engine/6000.5/script-reference/unityengine/object/instantiate.md#instantiate\(object-transform\))
* [Object.Instantiate(Object, Transform, bool)](/engine/6000.5/script-reference/unityengine/object/instantiate.md#instantiate\(object-transform-bool\))
* [Object.Instantiate\<T>(T)](/engine/6000.5/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Vector3, Quaternion)](/engine/6000.5/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Vector3, Quaternion, Transform)](/engine/6000.5/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Transform)](/engine/6000.5/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Transform, bool)](/engine/6000.5/script-reference/unityengine/object/instantiate.md)
* [Object.Destroy(Object, float)](/engine/6000.5/script-reference/unityengine/object/destroy.md)
* [Object.DestroyImmediate(Object, bool)](/engine/6000.5/script-reference/unityengine/object/destroyimmediate.md)
* [Object.FindObjectsByType(Type)](/engine/6000.5/script-reference/unityengine/object/findobjectsbytype.md#findobjectsbytype\(type\))
* [Object.FindObjectsByType(Type, FindObjectsInactive)](/engine/6000.5/script-reference/unityengine/object/findobjectsbytype.md#findobjectsbytype\(type-findobjectsinactive\))
* [Object.DontDestroyOnLoad(Object)](/engine/6000.5/script-reference/unityengine/object/dontdestroyonload.md)
* [Object.FindAnyObjectByType\<T>()](/engine/6000.5/script-reference/unityengine/object/findanyobjectbytype.md#findanyobjectbytypet\(\))
* [Object.FindAnyObjectByType\<T>(FindObjectsInactive)](/engine/6000.5/script-reference/unityengine/object/findanyobjectbytype.md#findanyobjectbytypet\(findobjectsinactive\))
* [Object.FindObjectsByType\<T>()](/engine/6000.5/script-reference/unityengine/object/findobjectsbytype.md#findobjectsbytypet\(\))
* [Object.FindObjectsByType\<T>(FindObjectsInactive)](/engine/6000.5/script-reference/unityengine/object/findobjectsbytype.md#findobjectsbytypet\(findobjectsinactive\))
* [Object.FindAnyObjectByType(Type)](/engine/6000.5/script-reference/unityengine/object/findanyobjectbytype.md#findanyobjectbytype\(type\))
* [Object.FindAnyObjectByType(Type, FindObjectsInactive)](/engine/6000.5/script-reference/unityengine/object/findanyobjectbytype.md#findanyobjectbytype\(type-findobjectsinactive\))
* [Object.ToString()](/engine/6000.5/script-reference/unityengine/object/tostring.md)
* [Object.name](/engine/6000.5/script-reference/unityengine/object/name.md)
* [Object.hideFlags](/engine/6000.5/script-reference/unityengine/object/hideflags.md)

### Operators

| Operator                                                                           | Description                                                             |
| ---------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [operator ==](/engine/6000.5/script-reference/unityengine/object/op-equality.md)   | Compares two object references to see if they refer to the same object. |
| [bool](/engine/6000.5/script-reference/unityengine/object/op-implicit.md)          | Determines whether the object exists.                                   |
| [operator !=](/engine/6000.5/script-reference/unityengine/object/op-inequality.md) | Compares if two objects refer to a different object.                    |
