# AudioSource

> A representation of audio sources in 3D.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AudioModule
* **Inherits from:** AudioBehaviour

```csharp
[RequireComponent(typeof(Transform))]
public sealed class AudioSource : AudioBehaviour
```

## Remarks

Attach an AudioSource to a [GameObject](/engine/6000.0/script-reference/unityengine/gameobject.md) to play back sounds in a 3D environment. To play 3D sounds you also need to have an [AudioListener](/engine/6000.0/script-reference/unityengine/audiolistener.md). Usually, you can find the audio listener attached to the camera in your scene. If you set [AudioSource.spatialBlend](/engine/6000.0/script-reference/unityengine/audiosource/spatialblend.md) to 0.0f, then Unity will treat the audio clip as a 2D sound. If you set it to 1.0f, the clip is fully 3D. Anything in between is a blend of 2D and 3D.

To play, pause, and stop a single audio clip, use [AudioSource.Play](/engine/6000.0/script-reference/unityengine/audiosource/play.md), [AudioSource.Pause](/engine/6000.0/script-reference/unityengine/audiosource/pause.md) and [AudioSource.Stop](/engine/6000.0/script-reference/unityengine/audiosource/stop.md). To adjust its volume while playing, use the [AudioSource.volume](/engine/6000.0/script-reference/unityengine/audiosource/volume.md) property. Use [AudioSource.time](/engine/6000.0/script-reference/unityengine/audiosource/time.md) to seek through the audio track. To play multiple sounds on one AudioSource, use [AudioSource.PlayOneShot](/engine/6000.0/script-reference/unityengine/audiosource/playoneshot.md). To play a clip at a static position in 3D space, use [AudioSource.PlayClipAtPoint](/engine/6000.0/script-reference/unityengine/audiosource/playclipatpoint.md).

Additional Resources: [AudioListener](/engine/6000.0/script-reference/unityengine/audiolistener.md), [AudioClip](/engine/6000.0/script-reference/unityengine/audioclip.md), [AudioSource component](/engine/6000.0/manual/audio/reference/class-audio-source.md).

## Examples

```csharp
//This script allows you to toggle music to play and stop.
//Assign an AudioSource to a GameObject and attach an Audio Clip in the Audio Source. Attach this script to the GameObject.

using UnityEngine;

public class Example : MonoBehaviour
{
    AudioSource m_MyAudioSource;

    //Play the music
    bool m_Play;
    //Detect when you use the toggle, ensures music isn’t played multiple times
    bool m_ToggleChange;

    void Start()
    {
        //Fetch the AudioSource from the GameObject
        m_MyAudioSource = GetComponent<AudioSource>();
        //Ensure the toggle is set to true for the music to play at start-up
        m_Play = true;
    }

    void Update()
    {
        //Check to see if you just set the toggle to positive
        if (m_Play == true && m_ToggleChange == true)
        {
            //Play the audio you attach to the AudioSource component
            m_MyAudioSource.Play();
            //Ensure audio doesn’t play more than once
            m_ToggleChange = false;
        }
        //Check if you just set the toggle to false
        if (m_Play == false && m_ToggleChange == true)
        {
            //Stop the audio
            m_MyAudioSource.Stop();
            //Ensure audio doesn’t play more than once
            m_ToggleChange = false;
        }
    }

    void OnGUI()
    {
        //Switch this toggle to activate and deactivate the parent GameObject
        m_Play = GUI.Toggle(new Rect(10, 10, 100, 30), m_Play, "Play Music");

        //Detect if there is a change with the toggle
        if (GUI.changed)
        {
            //Change to true to show that there was just a change in the toggle state
            m_ToggleChange = true;
        }
    }
}
```

## Properties

| Property                                                                                                        | Description                                                                                                                                                                            |
| --------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bypassEffects](/engine/6000.0/script-reference/unityengine/audiosource/bypasseffects.md)                       | Bypass effects (Applied from filter components or global listener filters).                                                                                                            |
| [bypassListenerEffects](/engine/6000.0/script-reference/unityengine/audiosource/bypasslistenereffects.md)       | When set, global effects on the AudioListener doesn't apply to the audio signal generated by the AudioSource. It also doesn't apply, if the AudioSource is playing into a mixer group. |
| [bypassReverbZones](/engine/6000.0/script-reference/unityengine/audiosource/bypassreverbzones.md)               | When set, it doesn't route the signal from an AudioSource into the global reverb associated with reverb zones.                                                                         |
| [clip](/engine/6000.0/script-reference/unityengine/audiosource/clip.md)                                         | The default [AudioClip](/engine/6000.0/script-reference/unityengine/audioclip.md) to play.                                                                                             |
| [dopplerLevel](/engine/6000.0/script-reference/unityengine/audiosource/dopplerlevel.md)                         | Sets the Doppler scale for this AudioSource.                                                                                                                                           |
| [gamepadSpeakerOutputType](/engine/6000.0/script-reference/unityengine/audiosource/gamepadspeakeroutputtype.md) | Gets or sets the gamepad audio output type for this audio source.                                                                                                                      |
| [ignoreListenerPause](/engine/6000.0/script-reference/unityengine/audiosource/ignorelistenerpause.md)           | Allows AudioSource to play even though `AudioListener.pause` is set to true. This is useful for the menu element sounds or background music in pause menus.                            |
| [ignoreListenerVolume](/engine/6000.0/script-reference/unityengine/audiosource/ignorelistenervolume.md)         | This makes the audio source not take into account the volume of the audio listener.                                                                                                    |
| [isPlaying](/engine/6000.0/script-reference/unityengine/audiosource/isplaying.md)                               | Returns whether the AudioSource is currently playing an [AudioResource](/engine/6000.0/script-reference/unityengine/audio/audioresource.md)(Read Only).                                |
| [isVirtual](/engine/6000.0/script-reference/unityengine/audiosource/isvirtual.md)                               | True if all sounds played by the AudioSource, such as main sound started by Play() or playOnAwake, and one-shots are culled by the audio system.                                       |
| [loop](/engine/6000.0/script-reference/unityengine/audiosource/loop.md)                                         | Checks if the audio clip is looping                                                                                                                                                    |
| [maxDistance](/engine/6000.0/script-reference/unityengine/audiosource/maxdistance.md)                           | The distance where sound either becomes inaudible or stops attenuation, depending on the rolloff mode.                                                                                 |
| [minDistance](/engine/6000.0/script-reference/unityengine/audiosource/mindistance.md)                           | Within the Min distance the AudioSource will cease to grow louder in volume.                                                                                                           |
| [mute](/engine/6000.0/script-reference/unityengine/audiosource/mute.md)                                         | Un- / Mutes the AudioSource. Mute sets the volume=0, Un-Mute restore the original volume.                                                                                              |
| [outputAudioMixerGroup](/engine/6000.0/script-reference/unityengine/audiosource/outputaudiomixergroup.md)       | The target group to which the AudioSource should route its signal.                                                                                                                     |
| [panStereo](/engine/6000.0/script-reference/unityengine/audiosource/panstereo.md)                               | Pans a playing sound in a stereo way (left or right). This only applies to sounds that are Mono or Stereo.                                                                             |
| [pitch](/engine/6000.0/script-reference/unityengine/audiosource/pitch.md)                                       | The pitch of the audio source.                                                                                                                                                         |
| [playOnAwake](/engine/6000.0/script-reference/unityengine/audiosource/playonawake.md)                           | Enable this property to automatically play the audio source when the component or GameObject becomes active.                                                                           |
| [priority](/engine/6000.0/script-reference/unityengine/audiosource/priority.md)                                 | Sets the priority of the [AudioSource](/engine/6000.0/script-reference/unityengine/audiosource.md).                                                                                    |
| [resource](/engine/6000.0/script-reference/unityengine/audiosource/resource.md)                                 | The default [AudioResource](/engine/6000.0/script-reference/unityengine/audio/audioresource.md) to play.                                                                               |
| [reverbZoneMix](/engine/6000.0/script-reference/unityengine/audiosource/reverbzonemix.md)                       | The amount by which the signal from the AudioSource will be mixed into the global reverb associated with the Reverb Zones.                                                             |
| [rolloffMode](/engine/6000.0/script-reference/unityengine/audiosource/rolloffmode.md)                           | Sets/Gets how the AudioSource attenuates over distance.                                                                                                                                |
| [spatialBlend](/engine/6000.0/script-reference/unityengine/audiosource/spatialblend.md)                         | Sets how much this AudioSource is affected by 3D spatialisation calculations (attenuation, doppler etc). 0.0 makes the sound full 2D, 1.0 makes it full 3D.                            |
| [spatialize](/engine/6000.0/script-reference/unityengine/audiosource/spatialize.md)                             | Enables or disables spatialization.                                                                                                                                                    |
| [spatializePostEffects](/engine/6000.0/script-reference/unityengine/audiosource/spatializeposteffects.md)       | Determines if the spatializer effect is inserted before or after the effect filters.                                                                                                   |
| [spread](/engine/6000.0/script-reference/unityengine/audiosource/spread.md)                                     | Sets the spread angle (in degrees) of a 3d stereo or multichannel sound in speaker space.                                                                                              |
| [time](/engine/6000.0/script-reference/unityengine/audiosource/time.md)                                         | Playback position in seconds.                                                                                                                                                          |
| [timeSamples](/engine/6000.0/script-reference/unityengine/audiosource/timesamples.md)                           | The current playback position of the AudioSource in PCM samples.                                                                                                                       |
| [velocityUpdateMode](/engine/6000.0/script-reference/unityengine/audiosource/velocityupdatemode.md)             | Whether the Audio Source should be updated in the fixed or dynamic update.                                                                                                             |
| [volume](/engine/6000.0/script-reference/unityengine/audiosource/volume.md)                                     | The volume of the audio source (0.0 to 1.0).                                                                                                                                           |

## Methods

| Method                                                                                                          | Description                                                                                                                                                                                                                                                                                                     |
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [DisableGamepadOutput](/engine/6000.0/script-reference/unityengine/audiosource/disablegamepadoutput.md)         | Disables audio output to a gamepad for this audio source.                                                                                                                                                                                                                                                       |
| [GetAmbisonicDecoderFloat](/engine/6000.0/script-reference/unityengine/audiosource/getambisonicdecoderfloat.md) | Reads a user-defined parameter of a custom ambisonic decoder effect that is attached to an AudioSource.                                                                                                                                                                                                         |
| [GetCustomCurve](/engine/6000.0/script-reference/unityengine/audiosource/getcustomcurve.md)                     | Get the current custom curve for the given AudioSourceCurveType.                                                                                                                                                                                                                                                |
| [GetOutputData](/engine/6000.0/script-reference/unityengine/audiosource/getoutputdata.md)                       | Provides a block of the currently playing source's output data.                                                                                                                                                                                                                                                 |
| [GetSpatializerFloat](/engine/6000.0/script-reference/unityengine/audiosource/getspatializerfloat.md)           | Reads a user-defined parameter of a custom spatializer effect that is attached to an AudioSource.                                                                                                                                                                                                               |
| [GetSpectrumData](/engine/6000.0/script-reference/unityengine/audiosource/getspectrumdata.md)                   | Provides the block of audio frequencies (spectrum data) of the AudioSource that is currently playing.                                                                                                                                                                                                           |
| [Pause](/engine/6000.0/script-reference/unityengine/audiosource/pause.md)                                       | Pauses playing the [AudioSource.clip](/engine/6000.0/script-reference/unityengine/audiosource/clip.md).                                                                                                                                                                                                         |
| [Play](/engine/6000.0/script-reference/unityengine/audiosource/play.md)                                         | Plays the [AudioSource.clip](/engine/6000.0/script-reference/unityengine/audiosource/clip.md).                                                                                                                                                                                                                  |
| [PlayDelayed](/engine/6000.0/script-reference/unityengine/audiosource/playdelayed.md)                           | Plays the [AudioSource.clip](/engine/6000.0/script-reference/unityengine/audiosource/clip.md) with a delay specified in seconds. Users are advised to use this function instead of the old Play(delay) function that took a delay specified in samples relative to a reference rate of 44.1 kHz as an argument. |
| [PlayOneShot](/engine/6000.0/script-reference/unityengine/audiosource/playoneshot.md)                           | Plays an [AudioClip](/engine/6000.0/script-reference/unityengine/audioclip.md), and scales the [AudioSource](/engine/6000.0/script-reference/unityengine/audiosource.md) volume by volumeScale.                                                                                                                 |
| [PlayOnGamepad](/engine/6000.0/script-reference/unityengine/audiosource/playongamepad.md)                       | Enable the audio source to play through a specific gamepad.                                                                                                                                                                                                                                                     |
| [PlayScheduled](/engine/6000.0/script-reference/unityengine/audiosource/playscheduled.md)                       | Plays the [AudioSource.clip](/engine/6000.0/script-reference/unityengine/audiosource/clip.md) at a specific time on the absolute time-line that AudioSettings.dspTime reads from.                                                                                                                               |
| [SetAmbisonicDecoderFloat](/engine/6000.0/script-reference/unityengine/audiosource/setambisonicdecoderfloat.md) | Sets a user-defined parameter of a custom ambisonic decoder effect that is attached to an AudioSource.                                                                                                                                                                                                          |
| [SetCustomCurve](/engine/6000.0/script-reference/unityengine/audiosource/setcustomcurve.md)                     | Set the custom curve for the given AudioSourceCurveType.                                                                                                                                                                                                                                                        |
| [SetScheduledEndTime](/engine/6000.0/script-reference/unityengine/audiosource/setscheduledendtime.md)           | Changes the time at which a sound that has already been scheduled to play will end. Notice that depending on the timing not all rescheduling requests can be fulfilled.                                                                                                                                         |
| [SetScheduledStartTime](/engine/6000.0/script-reference/unityengine/audiosource/setscheduledstarttime.md)       | Changes the time at which a sound that has already been scheduled to play will start.                                                                                                                                                                                                                           |
| [SetSpatializerFloat](/engine/6000.0/script-reference/unityengine/audiosource/setspatializerfloat.md)           | Sets a user-defined parameter of a custom spatializer effect that is attached to an AudioSource.                                                                                                                                                                                                                |
| [Stop](/engine/6000.0/script-reference/unityengine/audiosource/stop.md)                                         | Stops playing the [AudioSource.clip](/engine/6000.0/script-reference/unityengine/audiosource/clip.md).                                                                                                                                                                                                          |
| [UnPause](/engine/6000.0/script-reference/unityengine/audiosource/unpause.md)                                   | Unpause the paused playback of this AudioSource.                                                                                                                                                                                                                                                                |

## Static Methods

| Method                                                                                                                          | Description                                                       |
| ------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| [GamepadSpeakerSupportsOutputType](/engine/6000.0/script-reference/unityengine/audiosource/gamepadspeakersupportsoutputtype.md) | Check if the platform supports an audio output type  on gamepads. |
| [PlayClipAtPoint](/engine/6000.0/script-reference/unityengine/audiosource/playclipatpoint.md)                                   | Plays an AudioClip at a given position in world space.            |

## Inheritance

**Inherited Members:**

* [Behaviour.enabled](/engine/6000.0/script-reference/unityengine/behaviour/enabled.md)
* [Behaviour.isActiveAndEnabled](/engine/6000.0/script-reference/unityengine/behaviour/isactiveandenabled.md)
* [Component.GetComponent(Type)](/engine/6000.0/script-reference/unityengine/component/getcomponent.md#getcomponent\(type\))
* [Component.GetComponent\<T>()](/engine/6000.0/script-reference/unityengine/component/getcomponent.md)
* [Component.TryGetComponent(Type, Component)](/engine/6000.0/script-reference/unityengine/component/trygetcomponent.md)
* [Component.TryGetComponent\<T>(T)](/engine/6000.0/script-reference/unityengine/component/trygetcomponent.md)
* [Component.GetComponent(string)](/engine/6000.0/script-reference/unityengine/component/getcomponent.md#getcomponent\(string\))
* [Component.GetComponentInChildren(Type, bool)](/engine/6000.0/script-reference/unityengine/component/getcomponentinchildren.md#getcomponentinchildren\(type-bool\))
* [Component.GetComponentInChildren(Type)](/engine/6000.0/script-reference/unityengine/component/getcomponentinchildren.md#getcomponentinchildren\(type\))
* [Component.GetComponentInChildren\<T>(bool)](/engine/6000.0/script-reference/unityengine/component/getcomponentinchildren.md)
* [Component.GetComponentsInChildren(Type, bool)](/engine/6000.0/script-reference/unityengine/component/getcomponentsinchildren.md)
* [Component.GetComponentsInChildren\<T>(bool)](/engine/6000.0/script-reference/unityengine/component/getcomponentsinchildren.md#getcomponentsinchildrent\(bool\))
* [Component.GetComponentsInChildren\<T>(bool, List\<T>)](/engine/6000.0/script-reference/unityengine/component/getcomponentsinchildren.md)
* [Component.GetComponentsInChildren\<T>()](/engine/6000.0/script-reference/unityengine/component/getcomponentsinchildren.md#getcomponentsinchildrent\(\))
* [Component.GetComponentsInChildren\<T>(List\<T>)](/engine/6000.0/script-reference/unityengine/component/getcomponentsinchildren.md)
* [Component.GetComponentInParent(Type, bool)](/engine/6000.0/script-reference/unityengine/component/getcomponentinparent.md#getcomponentinparent\(type-bool\))
* [Component.GetComponentInParent(Type)](/engine/6000.0/script-reference/unityengine/component/getcomponentinparent.md#getcomponentinparent\(type\))
* [Component.GetComponentInParent\<T>(bool)](/engine/6000.0/script-reference/unityengine/component/getcomponentinparent.md#getcomponentinparentt\(bool\))
* [Component.GetComponentInParent\<T>()](/engine/6000.0/script-reference/unityengine/component/getcomponentinparent.md#getcomponentinparentt\(\))
* [Component.GetComponentsInParent(Type, bool)](/engine/6000.0/script-reference/unityengine/component/getcomponentsinparent.md)
* [Component.GetComponentsInParent\<T>(bool)](/engine/6000.0/script-reference/unityengine/component/getcomponentsinparent.md#getcomponentsinparentt\(bool\))
* [Component.GetComponentsInParent\<T>(bool, List\<T>)](/engine/6000.0/script-reference/unityengine/component/getcomponentsinparent.md)
* [Component.GetComponentsInParent\<T>()](/engine/6000.0/script-reference/unityengine/component/getcomponentsinparent.md#getcomponentsinparentt\(\))
* [Component.GetComponents(Type)](/engine/6000.0/script-reference/unityengine/component/getcomponents.md#getcomponents\(type\))
* [Component.GetComponents(Type, List\<Component>)](/engine/6000.0/script-reference/unityengine/component/getcomponents.md#getcomponents\(type-listcomponent\))
* [Component.GetComponents\<T>(List\<T>)](/engine/6000.0/script-reference/unityengine/component/getcomponents.md)
* [Component.GetComponents\<T>()](/engine/6000.0/script-reference/unityengine/component/getcomponents.md#getcomponentst\(\))
* [Component.GetComponentIndex()](/engine/6000.0/script-reference/unityengine/component/getcomponentindex.md)
* [Component.CompareTag(string)](/engine/6000.0/script-reference/unityengine/component/comparetag.md#comparetag\(string\))
* [Component.CompareTag(TagHandle)](/engine/6000.0/script-reference/unityengine/component/comparetag.md#comparetag\(taghandle\))
* [Component.SendMessageUpwards(string, Object, SendMessageOptions)](/engine/6000.0/script-reference/unityengine/component/sendmessageupwards.md#sendmessageupwards\(string-object-sendmessageoptions\))
* [Component.SendMessageUpwards(string, SendMessageOptions)](/engine/6000.0/script-reference/unityengine/component/sendmessageupwards.md#sendmessageupwards\(string-sendmessageoptions\))
* [Component.SendMessage(string, Object)](/engine/6000.0/script-reference/unityengine/component/sendmessage.md#sendmessage\(string-object\))
* [Component.SendMessage(string)](/engine/6000.0/script-reference/unityengine/component/sendmessage.md#sendmessage\(string\))
* [Component.SendMessage(string, Object, SendMessageOptions)](/engine/6000.0/script-reference/unityengine/component/sendmessage.md#sendmessage\(string-object-sendmessageoptions\))
* [Component.SendMessage(string, SendMessageOptions)](/engine/6000.0/script-reference/unityengine/component/sendmessage.md#sendmessage\(string-sendmessageoptions\))
* [Component.BroadcastMessage(string, Object, SendMessageOptions)](/engine/6000.0/script-reference/unityengine/component/broadcastmessage.md#broadcastmessage\(string-object-sendmessageoptions\))
* [Component.BroadcastMessage(string, SendMessageOptions)](/engine/6000.0/script-reference/unityengine/component/broadcastmessage.md#broadcastmessage\(string-sendmessageoptions\))
* [Component.transform](/engine/6000.0/script-reference/unityengine/component/transform.md)
* [Component.gameObject](/engine/6000.0/script-reference/unityengine/component/gameobject.md)
* [Component.tag](/engine/6000.0/script-reference/unityengine/component/tag.md)
* [Object.GetInstanceID()](/engine/6000.0/script-reference/unityengine/object/getinstanceid.md)
* [Object.GetHashCode()](/engine/6000.0/script-reference/unityengine/object/gethashcode.md)
* [Object.InstantiateAsync\<T>(T)](/engine/6000.0/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, Transform)](/engine/6000.0/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, Vector3, Quaternion)](/engine/6000.0/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, Transform, Vector3, Quaternion)](/engine/6000.0/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int)](/engine/6000.0/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform)](/engine/6000.0/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Vector3, Quaternion)](/engine/6000.0/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, ReadOnlySpan\<Vector3>, ReadOnlySpan\<Quaternion>)](/engine/6000.0/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform, Vector3, Quaternion)](/engine/6000.0/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform, Vector3, Quaternion, CancellationToken)](/engine/6000.0/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform, ReadOnlySpan\<Vector3>, ReadOnlySpan\<Quaternion>)](/engine/6000.0/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform, ReadOnlySpan\<Vector3>, ReadOnlySpan\<Quaternion>, CancellationToken)](/engine/6000.0/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, InstantiateParameters, CancellationToken)](/engine/6000.0/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, InstantiateParameters, CancellationToken)](/engine/6000.0/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, Vector3, Quaternion, InstantiateParameters, CancellationToken)](/engine/6000.0/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Vector3, Quaternion, InstantiateParameters, CancellationToken)](/engine/6000.0/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, ReadOnlySpan\<Vector3>, ReadOnlySpan\<Quaternion>, InstantiateParameters, CancellationToken)](/engine/6000.0/script-reference/unityengine/object/instantiateasync.md)
* [Object.Instantiate(Object, Vector3, Quaternion)](/engine/6000.0/script-reference/unityengine/object/instantiate.md#instantiate\(object-vector3-quaternion\))
* [Object.Instantiate(Object, Vector3, Quaternion, Transform)](/engine/6000.0/script-reference/unityengine/object/instantiate.md#instantiate\(object-vector3-quaternion-transform\))
* [Object.Instantiate(Object)](/engine/6000.0/script-reference/unityengine/object/instantiate.md#instantiate\(object\))
* [Object.Instantiate(Object, Scene)](/engine/6000.0/script-reference/unityengine/object/instantiate.md#instantiate\(object-scene\))
* [Object.Instantiate\<T>(T, InstantiateParameters)](/engine/6000.0/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Vector3, Quaternion, InstantiateParameters)](/engine/6000.0/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate(Object, Transform)](/engine/6000.0/script-reference/unityengine/object/instantiate.md#instantiate\(object-transform\))
* [Object.Instantiate(Object, Transform, bool)](/engine/6000.0/script-reference/unityengine/object/instantiate.md#instantiate\(object-transform-bool\))
* [Object.Instantiate\<T>(T)](/engine/6000.0/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Vector3, Quaternion)](/engine/6000.0/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Vector3, Quaternion, Transform)](/engine/6000.0/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Transform)](/engine/6000.0/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Transform, bool)](/engine/6000.0/script-reference/unityengine/object/instantiate.md)
* [Object.Destroy(Object, float)](/engine/6000.0/script-reference/unityengine/object/destroy.md)
* [Object.DestroyImmediate(Object, bool)](/engine/6000.0/script-reference/unityengine/object/destroyimmediate.md)
* [Object.FindObjectsByType(Type, FindObjectsSortMode)](/engine/6000.0/script-reference/unityengine/object/findobjectsbytype.md#findobjectsbytype\(type-findobjectssortmode\))
* [Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)](/engine/6000.0/script-reference/unityengine/object/findobjectsbytype.md#findobjectsbytype\(type-findobjectsinactive-findobjectssortmode\))
* [Object.DontDestroyOnLoad(Object)](/engine/6000.0/script-reference/unityengine/object/dontdestroyonload.md)
* [Object.FindObjectsByType\<T>(FindObjectsSortMode)](/engine/6000.0/script-reference/unityengine/object/findobjectsbytype.md#findobjectsbytypet\(findobjectssortmode\))
* [Object.FindObjectsByType\<T>(FindObjectsInactive, FindObjectsSortMode)](/engine/6000.0/script-reference/unityengine/object/findobjectsbytype.md#findobjectsbytypet\(findobjectsinactive-findobjectssortmode\))
* [Object.FindFirstObjectByType\<T>()](/engine/6000.0/script-reference/unityengine/object/findfirstobjectbytype.md#findfirstobjectbytypet\(\))
* [Object.FindAnyObjectByType\<T>()](/engine/6000.0/script-reference/unityengine/object/findanyobjectbytype.md#findanyobjectbytypet\(\))
* [Object.FindFirstObjectByType\<T>(FindObjectsInactive)](/engine/6000.0/script-reference/unityengine/object/findfirstobjectbytype.md#findfirstobjectbytypet\(findobjectsinactive\))
* [Object.FindAnyObjectByType\<T>(FindObjectsInactive)](/engine/6000.0/script-reference/unityengine/object/findanyobjectbytype.md#findanyobjectbytypet\(findobjectsinactive\))
* [Object.FindFirstObjectByType(Type)](/engine/6000.0/script-reference/unityengine/object/findfirstobjectbytype.md#findfirstobjectbytype\(type\))
* [Object.FindAnyObjectByType(Type)](/engine/6000.0/script-reference/unityengine/object/findanyobjectbytype.md#findanyobjectbytype\(type\))
* [Object.FindFirstObjectByType(Type, FindObjectsInactive)](/engine/6000.0/script-reference/unityengine/object/findfirstobjectbytype.md#findfirstobjectbytype\(type-findobjectsinactive\))
* [Object.FindAnyObjectByType(Type, FindObjectsInactive)](/engine/6000.0/script-reference/unityengine/object/findanyobjectbytype.md#findanyobjectbytype\(type-findobjectsinactive\))
* [Object.ToString()](/engine/6000.0/script-reference/unityengine/object/tostring.md)
* [Object.name](/engine/6000.0/script-reference/unityengine/object/name.md)
* [Object.hideFlags](/engine/6000.0/script-reference/unityengine/object/hideflags.md)

### Operators

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