id stringlengths 15 22 | source stringclasses 2
values | category stringclasses 12
values | instruction stringlengths 22 180 | response stringlengths 100 46.1k | system stringclasses 5
values |
|---|---|---|---|---|---|
local_sr_f8f9b257aa84 | unity_docs | networking | What are the parameters of `Networking.MultipartFormDataSection.ctor` in Unity? | Description Raw data section, unnamed and no Content-Type header. Will not include either a filename or a Content-Type section header. Declaration public MultipartFormDataSection (string name ,
byte[] data ); Parameters Parameter Description name Section name. data Data payload of this section. Description Raw data sec... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_7bd0034c40a2 | unity_docs | rendering | Explain 'New in Unity 6.0 Preview' in Unity. | Find out what’s changed in Unity 6.0 Preview since 2023.2 and view the documentation for the affected areas.
To find out more about the new features, changes, and improvements to this Unity version, refer to the
Unity 6.0 Preview Release Notes
.
To find the release notes for other releases, refer to the
Unity download ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b0e0d1bb1fc8 | unity_docs | physics | What is `Physics.CapsuleCastNonAlloc` in Unity? Explain its purpose and usage. | Physics.CapsuleCastNonAlloc
Declaration
public static int
CapsuleCastNonAlloc
(
Vector3
point1
,
Vector3
point2
,
float
radius
,
Vector3
direction
,
RaycastHit[]
results
,
float
maxDistance
= Mathf.Infinity,
int
layerMask
= DefaultRaycastLayers,
QueryTriggerInteraction
queryTriggerInteraction
= Que... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_e88aa342a4c2_doc_1 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Manages the Voice communication system.Supports various providers like Vivox, Agora, and Photon Voice.
Signature:
```csharp
public class VoiceSystemManager : IVoiceProvider, ITextMessage
``` | You are an experienced Unity developer specializing in C# scripting, XR/VR development, and performance optimization. |
local_sr_a1dc3ec205dc | unity_docs | scripting | What is `Unity.IntegerTime.RationalTime` in Unity? Explain its purpose and usage. | RationalTime
struct in
Unity.IntegerTime
/
Implemented in:
UnityEngine.CoreModule
Description
Data type that represents time as an integer count of a rational number.
Properties
Property
Description
Count
Returns the number of ticks.
Ticks
Returns the number of ticks per second.
Static Methods
Method
Des... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e05d62bb478f | unity_docs | math | What are the parameters of `Mathf.MoveTowards` in Unity? | Description Moves a value current towards target . This function is similar Mathf.Lerp except that this function ensures the rate of change never exceeds maxDelta and that the current value is never greater than the target value.
Negative values of maxDelta pushes the value away from target . ```csharp
using UnityEngin... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_06cfe32c9139 | unity_docs | math | What are the parameters of `HumanTrait.GetMuscleDefaultMax` in Unity? | Description Get the default maximum value of rotation for a muscle in degrees. The default maximum applies to all three axes of rotation for the muscle. The indexing order for the muscles is the same as that of the MuscleName array. ```csharp
using UnityEngine;
using System.Collections;public class ExampleClass : MonoB... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_7f7094469e90 | unity_docs | editor | In Unity's 'scriptmultiplescenes', what is 'Use runtime scripts' and how does it work? | When using scripts at runtime to edit multiple scenes, use the functions in the SceneManager class such as LoadScene and
UnloadScene
.
Tips
:
To instantiate a prefab in a scene, use
PrefabUtility.InstantiatePrefab
.
To move objects to the root of a scene, use
Undo.MoveGameObjectToScene
.
To avoid having to setup your H... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_8578844d8a72 | unity_docs | scripting | What is `Unity.Properties.IPropertyAccept_1` in Unity? Explain its purpose and usage. | IPropertyAccept<T0>
interface in
Unity.Properties
Description
Interface for accepting property visitation.
Public Methods
Method
Description
Accept
Call this method to invoke IPropertyVisitor.Visit_2 with the strongly typed container and value. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f3b112c0dc93 | unity_docs | performance | What is `Profiling.Sampler.name` in Unity? Explain its purpose and usage. | Sampler.name
public string
name
;
Description
Sampler name. (Read Only)
Data generated by the Sampler is labeled with this name in the Profiler window.
Note:
If Sampler is invalid
name
returns null or empty string. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_e3cfc1a679ea | unity_docs | physics | In Unity's 'Introduction to Mesh colliders', what is 'Benefits and limitations of Mesh colliders' and how does it work? | In most cases, Mesh colliders offer a similar solution to
compound colliders
: their primary purpose is to provide accurate collisions for items with complex shapes. When considering the benefits and limitations of Mesh colliders, you are usually comparing them to compound colliders.
The main benefits of Mesh colliders... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_23959fb1498c | github | scripting | Write a Unity Editor script for Min Max Property Drawer | ```csharp
using UnityEditor;
using UnityEngine;
namespace OVR
{
/*
-----------------------
MinMaxPropertyDrawer
-----------------------
*/
[CustomPropertyDrawer (typeof (MinMaxAttribute))]
public class MinMaxPropertyDrawer : PropertyDrawer {
// Provide easy access to the MinMaxAttribute for reading information f... | You are an expert Unity game developer. Provide clear, accurate, and practical answers about Unity development. |
gh_7f2eefdc6e78_doc_0 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Spawn an object at a transform's position
Signature:
```csharp
public class SpawnObject : MonoBehaviour
``` | You are an expert Unity game developer. Provide clear, accurate, and practical answers about Unity development. |
local_sr_5124114a28b8 | unity_docs | xr | What is `Camera.GetStereoProjectionMatrix` in Unity? Explain its purpose and usage. | Camera.GetStereoProjectionMatrix
Declaration
public
Matrix4x4
GetStereoProjectionMatrix
(
Camera.StereoscopicEye
eye
);
Parameters
Parameter
Description
eye
Specifies the stereoscopic eye whose projection matrix needs to be returned.
Returns
Matrix4x4
The projection matrix of the specified stereoscop... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_a127ce11c832 | unity_docs | xr | What is `XR.XRDisplaySubsystem.displayOpaque` in Unity? Explain its purpose and usage. | XRDisplaySubsystem.displayOpaque
public bool
displayOpaque
;
Description
Determines if the current attached device has an opaque display.
Most VR devices are opaque in order to increase the immersive experience, AR devices are transparent to allow for interaction with an augmentation of the current environment. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b814ba89143d | unity_docs | rendering | What is `Rendering.BuiltinShaderType.ScreenSpaceShadows` in Unity? Explain its purpose and usage. | BuiltinShaderType.ScreenSpaceShadows
Description
Shader used for screen-space cascaded shadows.
Cascaded shadow maps for directional lights on PC/console platforms compute a
screenspace shadow mask using this shader.
Additional resources:
GraphicsSettings.SetShaderMode
,
BuiltinShaderMode
,
Graphics Settings
,
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7fcdb3a6bc1d | unity_docs | scripting | Show me a Unity C# example demonstrating `ParticleSystem.MainModule.ringBufferMode`. | lic
ParticleSystemRingBufferMode
ringBufferMode
;
Description
Configure the Particle System to not kill its particles when their lifetimes are exceeded.
Rather than using the particle lifetimes to kill particles, the system replaces particles with new ones when there are more particles than specified in Max Par... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_53884b19874e | unity_docs | editor | Explain 'Wrap content inside a scroll view' in Unity. | Version
: 2021.3+
This example demonstrates how to use styles to wrap content inside a scroll view. For demonstration purposes, this guide is for the Editor UI. However, the instructions on styling the scroll view also apply to runtime UI.
## Example overview
This example creates a custom Editor window with two scrol... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_0cecaec9e5fb | unity_docs | scripting | What is `Cache` in Unity? Explain its purpose and usage. | Cache
struct in
UnityEngine
/
Implemented in:
UnityEngine.CoreModule
Description
Data structure for cache. For more information, see
Caching.AddCache
.
**Note:** The Cache API is not supported in WebGL because AssetBundles are stored in the browser cache for the WebGL platform.
Properties
Property
Descripti... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_0e995004689b | github | scripting | Write a Unity Editor script for Open XR Android Settings | ```csharp
// SPDX-FileCopyrightText: 2024 Michael Nisbet <me@mikesky.dev>
// SPDX-License-Identifier: MIT
using UnityEngine.XR.OpenXR.Features;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
using UnityEditor.XR.OpenXR.Features;
#endif
namespace OpenXR.Extensions
{
#if UNITY_EDITOR
[OpenXRFeature(UiName... | You are an experienced Unity developer specializing in C# scripting, XR/VR development, and performance optimization. |
gh_f522b91ce703_doc_5 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Represents an object which can receive six arguments as part of its initialization process.-derived classes that implement this interface can be instantiated with their dependency using the function.-derived classes that implement this interface can be added to a with their dependency using the function.If the class a... | You are a knowledgeable Unity developer. Explain Unity concepts clearly and provide practical, tested code examples. |
local_sr_733dcf93a80d | unity_docs | rendering | What is `RenderTextureFormat.ARGBHalf` in Unity? Explain its purpose and usage. | RenderTextureFormat.ARGBHalf
Description
Color render texture format, 16 bit floating point per channel.
Note that not all graphics cards support floating point render textures.
Use
SystemInfo.SupportsRenderTextureFormat
to check for support.
Additional resources:
RenderTexture
class,
SystemInfo.SupportsRender... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_4537818d0785_doc_14 | github | scripting | What does `ResetScale` do in this Unity script? Explain its purpose and signature. | Resets the scale of all (scaled) children to 1.0f
Signature:
```csharp
public void ResetScale()
``` | You are a senior Unity engineer. Answer questions about Unity scripting, XR/VR development, and game systems with working code examples. |
gh_13bf0ebf4307 | github | scripting | Write a Unity C# script called Hand Fidelity Option | ```csharp
// // /*===============================================================================
// // Copyright (C) 2025 PhantomsXR Ltd. All Rights Reserved.
// //
// // This file is part of the Phantom.XRMOD.NetcodeModule.Runtime.
// //
// // The VisionOSPlatform cannot be copied, distributed, or made available to
/... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9dcdf273b1a9 | unity_docs | scripting | What is `UIElements.ITextElementExperimentalFeatures` in Unity? Explain its purpose and usage. | ITextElementExperimentalFeatures
interface in
UnityEngine.UIElements
Implements interfaces:
IExperimentalFeatures
Description
Give access to TextElement experimental features.
Public Methods
Method
Description
SetRenderedText
Setting this property will override the displayed text while preserving the ori... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_29f7131402f9 | unity_docs | scripting | What is `Presets.DefaultPreset.filter` in Unity? Explain its purpose and usage. | DefaultPreset.filter
public string
filter
;
Description
The search filter that is compared against the object instance. The DefaultPreset.m_Preset is applied to the object instance if it matches the search filter. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_bbfa94b6e95e | unity_docs | rendering | What is `Windows.WebCam.VideoCapture.StopRecordingAsync` in Unity? Explain its purpose and usage. | VideoCapture.StopRecordingAsync
Declaration
public void
StopRecordingAsync
(
Windows.WebCam.VideoCapture.OnStoppedRecordingVideoCallback
onStoppedRecordingVideoCallback
);
Parameters
Parameter
Description
onStoppedRecordingVideoCallback
Invoked as soon as video recording has finished.
Description
Asynchro... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_c9410df49dc2 | unity_docs | scripting | What is `iOS.Device.wantsSoftwareDimming` in Unity? Explain its purpose and usage. | Device.wantsSoftwareDimming
public static bool
wantsSoftwareDimming
;
Description
Indicates whether the screen may be dimmed lower than the hardware is normally capable of by emulating it in software.
This property changes the scale used by [Screen.brightness]. It's value should be set before attempting to cha... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_173ea6bc4a9f | unity_docs | ui | What is `UIElements.BaseListView.makeNoneElement` in Unity? Explain its purpose and usage. | BaseListView.makeNoneElement
public Func<VisualElement>
makeNoneElement
;
Description
This callback allows the user to set a Visual Element to replace the "List is empty" Label shown when the ListView is empty.
Setting this callback to anything other than
null
will remove the "List is empty" Label. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_e7da7c43dbbf | github | scripting | Write a Unity C# script called Windows Text To Speech Subsystem | ```csharp
// Copyright (c) Mixed Reality Toolkit Contributors
// Licensed under the BSD 3-Clause
using MixedReality.Toolkit.Subsystems;
using System;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using System.Linq;
using UnityEngine;
using UnityEngine.Scripting;
#if WINDOWS_UWP
using Windows.Fou... | You are a knowledgeable Unity developer. Explain Unity concepts clearly and provide practical, tested code examples. |
local_man_1b3f6efc5abc | unity_docs | rendering | Explain 'Importing assets' in Unity. | You can import external files, such as textures, models, audio, and scripts into your project, which Unity then manages and maintains for your project. Additionally, you can use tools such as the Import Activity window to monitor asset import timings and keep track of any assets which take a long time to import.
Topic ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_eaa04f3095d4 | unity_docs | rendering | What is `Search.SearchExpressionType.Iterable` in Unity? Explain its purpose and usage. | SearchExpressionType.Iterable
Description
Denote an expression that can iterated to yield
SearchItem
. Set: [1, 2, 3], Query String: t:shader and evaluator: count{} are all example of iterables.
```csharp
[SearchExpressionEvaluator(SearchExpressionType.Iterable | SearchExpressionType.Variadic)]
[SearchExpressionEv... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_dba874107351 | unity_docs | physics | What are the parameters of `MonoBehaviour.OnTriggerExit2D` in Unity? | Description Sent when another object leaves a trigger collider attached to this object (2D physics only). Further information about the other collider is reported in the Collider2D parameter passed during the call. Note: Trigger events will be sent to disabled MonoBehaviours, to allow enabling Behaviours in response to... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7fccce3639b1 | unity_docs | animation | What is `AnimationState.blendMode` in Unity? Explain its purpose and usage. | AnimationState.blendMode
public
AnimationBlendMode
blendMode
;
Description
Which blend mode should be used?
```csharp
using UnityEngine;
using System.Collections;public class ExampleScript : MonoBehaviour
{
public Animation anim; void Start()
{
// Set the leanLeft animation to blend additively
anim["leanL... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9a10caaca26f | unity_docs | scripting | What is `Experimental.Rendering.IScriptableBakedReflectionSystem.stateHashes` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
IScriptableBakedReflectionSystem.stateHashes
public Hash128[]
stateHashes
;
Description
The hashes of the current baked state of the ScriptableBakedReflectionSystem.
This hash is used to check whether the baked data has chan... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_07bf702f4ecc | unity_docs | scripting | What is `CollisionDetectionMode.ContinuousDynamic` in Unity? Explain its purpose and usage. | CollisionDetectionMode.ContinuousDynamic
Description
Continuous collision detection is on for colliding with static and dynamic geometry.
Prevent this Rigidbody from passing through static mesh geometry, and through other
Rigidbodies which have continuous collision detection enabled, when it is moving fast.
This is... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_892943e77a34 | unity_docs | physics | What is `BoxcastCommand.ScheduleBatch` in Unity? Explain its purpose and usage. | BoxcastCommand.ScheduleBatch
Declaration
public static
Unity.Jobs.JobHandle
ScheduleBatch
(NativeArray<BoxcastCommand>
commands
,
NativeArray<RaycastHit>
results
,
int
minCommandsPerJob
,
int
maxHits
,
Unity.Jobs.JobHandle
dependsOn
);
Parameters
Parameter
Description
commands
A NativeArray of the Bo... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_941658ebe936 | unity_docs | math | What is `Handles.ScaleSlider` in Unity? Explain its purpose and usage. | Handles.ScaleSlider
Declaration
public static float
ScaleSlider
(float
scale
,
Vector3
position
,
Vector3
direction
,
Quaternion
rotation
,
float
size
,
float
snap
);
Declaration
public static float
ScaleSlider
(int
id
,
float
scale
,
Vector3
position
,
Vector3
direction
,
Quaternion
rotat... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_42c8db479007 | unity_docs | rendering | What is `Rendering.TierSettings.semitransparentShadows` in Unity? Explain its purpose and usage. | TierSettings.semitransparentShadows
public bool
semitransparentShadows
;
Description
Whether to enable Semitransparent Shadows.
Enabling or disabling this setting will add or remove the UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS shader compiler define. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_a714599076c6 | unity_docs | scripting | What is `Application.version` in Unity? Explain its purpose and usage. | Application.version
public static string
version
;
Description
Returns application version number (Read Only).
This function returns the current version of the application. This is read-only. To set the version number in Unity, go to
Edit
>
Project Settings
>
Player
.
Unity uses
PlayerSettings.bundleVersion
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_0e0d1a18e992 | unity_docs | performance | Show me a Unity C# example demonstrating `Unity.Collections.LowLevel.Unsafe.NativeContainerSupportsMinMaxWriteRestrictionAttribute`. | order with no
other members between them. The container must also throw an exception for writes outside the min/max range.
**Note:** You can relax the parallel writing restriction for any native container instance using the NativeDisableParallelForRestriction attribute. However, that also removes
any checks to preven... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_c8e450b9b576 | unity_docs | physics | In Unity's 'Build for Embedded Linux from the command line', what is 'Build script' and how does it work? | You can put the example build script
Assets/Editor/
for the project to be built from the command line. Use the
-executeMethod
option to call the
Build()
method of this class, which sets up the build options and triggers the build.
For more information, refer to the
BuildPipeline.BuildPlayer
API documentation
.
```cshar... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_73a363d57963 | unity_docs | rendering | In Unity's 'Shader keywords workflow', what is 'Branch the shader code' and how does it work? | Use an if statement to make parts of your shader code execute based on the state of the keyword. For example, use the RED and GREEN keywords to control the color the shader outputs:
```csharp
void frag() : SV_Target {
if (RED)
{
// Output red
}
else if (GREEN)
{
// Output green
}
}
```
For more information,... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_8c15c6c32efc | unity_docs | scripting | What is `UIElements.ListView` in Unity? Explain its purpose and usage. | ListView
class in
UnityEngine.UIElements
/
Inherits from:
UIElements.BaseListView
/
Implemented in:
UnityEngine.UIElementsModule
Description
A ListView is a vertically scrollable area that links to, and displays, a list of items.
A
ListView
is a
ScrollView
with additional logic to display a list of ve... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_28ee29c3f6a8 | unity_docs | input | What is `KeyCode.Mouse0` in Unity? Explain its purpose and usage. | KeyCode.Mouse0
Description
The Left (or primary) mouse button.
Use this to detect left mouse button presses. The “0” mouse button is the main button on the user’s mouse, which is usually the left mouse button.
```csharp
using UnityEngine;public class Example : MonoBehaviour
{
void Update()
{
//Detect if the lef... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_ecac194c16fb_doc_15 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Allows access to the Environment flattening apis
Signature:
```csharp
public EnvironmentFlatteningApi EnvironmentFlatteningApi
``` | You are an expert Unity game developer. Provide clear, accurate, and practical answers about Unity development. |
local_sr_3f31638203e9 | unity_docs | rendering | What is `Texture.isReadable` in Unity? Explain its purpose and usage. | Texture.isReadable
public bool
isReadable
;
Description
Whether Unity stores an additional copy of this texture's pixel data in CPU-addressable memory.
This is required for methods that read, write, and manipulate the pixel data on the CPU, such as
Texture2D.GetPixels
or
ImageConversion.EncodeToPNG
. It is n... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_6dddbd93648e | unity_docs | rendering | Show me a Unity C# example demonstrating `MonoImporter.GetIcon`. | etIcon
Declaration
public
Texture2D
GetIcon
();
Returns
Texture2D
Returns the custom icon that will be associated with the imported
MonoScript
. If no custom icon will be associated with the imported
MonoScript
, returns null.
Description
Gets the icon to associate with the imported
MonoScript
.
Addi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_15126b849249 | unity_docs | rendering | What is `Rendering.PerObjectData` in Unity? Explain its purpose and usage. | PerObjectData
enumeration
Description
What kind of per-object data to setup during rendering.
At minimum, object transformation matrices are set up per-object, but extra data (e.g. lightmaps, light probes etc.) can be set up by combining PerObjectData flags.
Additional resources:
DrawingSettings
, ScriptableRende... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_88fc6b47551b | unity_docs | physics | Give me an overview of the `Rigidbody2D` class in Unity. | Rigidbody2D
class in
UnityEngine
/
Inherits from:
Component
/
Implemented in:
UnityEngine.Physics2DModule
Description
Provides physics movement and other dynamics, and the ability to attach
Collider2D
to it.
The
Rigidbody2D
is a fundamental physics component that provides multiple simulation dynamics, suc... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_457f3e2f7897 | unity_docs | xr | What is `Rendering.ObjectIdRequest.destination` in Unity? Explain its purpose and usage. | ObjectIdRequest.destination
public
RenderTexture
destination
;
Description
RenderTexture to store the rendering result of the request. The colors in this RenderTexture can be decoded to determine the object that was rendered at each pixel, first by decoding the color to an index using
ObjectIdResult.DecodeIdF... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9e8fc2556a1d | unity_docs | editor | What are the parameters of `VersionControl.Provider.UnlockIsValid` in Unity? | Description Returns true if unlocking the assets is a valid operation. ```csharp
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.VersionControl;
using UnityEngine;public class EditorScript : MonoBehaviour
{
[MenuItem("Version Control/UnlockIsValid")]
public static void ExampleUnlockIsVali... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_517cea902441 | unity_docs | physics | In Unity's 'Configure driving forces on a Configurable Joint', what is 'Apply a target velocity' and how does it work? | To apply a specific continuous velocity, set a target velocity. You can set a linear motion velocity, a rotational motion velocity, or both.
To set a target linear velocity, use the
Target Velocity
’s X ,
Y and Z
values. These values configure each axis individually, in meters per second.
To set a target angular veloci... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9d1c2fa2ab06 | unity_docs | scripting | What is `Experimental.Rendering.GraphicsFormat.R16G16B16_SInt` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
GraphicsFormat.R16G16B16_SInt
Description
A three-component, 48-bit signed integer format that has a 16-bit R component in bytes 0..1, a 16-bit G component in bytes 2..3, and a 16-bit B component in bytes 4..5. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_51164bc48997 | unity_docs | scripting | Show me a Unity C# example demonstrating `Terrain.heightmapMaximumLOD`. | htmapMaximumLOD
;
Description
Limits the Terrain's maximum rendering resolution.
Use on low-end graphics cards to block the highest level of detail for Terrain.
A value of 0 for this property allows the terrain to be shown at the highest detail. A value of 1 reduces the maximum triangle count to one-fourth of it... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_5c2e57cb1999 | unity_docs | editor | Give me an overview of the `EditorAssembliesCompatibilityLevel` class in Unity. | EditorAssembliesCompatibilityLevel
enumeration
Description
.NET API compatibility level.
Properties
Property
Description
Default
The Default is equivalent to NET_Unity_4_8.
NET_Unity_4_8
Profile that targets the .NET Framework 4.8 + Unity additions.
NET_Standard
Profile that targets .NET Standard 2.1. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_dc2c84e269b1 | unity_docs | physics | Explain 'Introduction to meshes' in Unity. | A mesh is a collection of data that describes a shape. In Unity, you use meshes in the following ways:
In graphics, you use meshes together with materials ; meshes describe the shape of an object that the GPU renders, and materials describe the appearance of its surface.
In physics, you can use a mesh to determine the ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_3154a53278d3 | unity_docs | rendering | What is `CustomRenderTexture.updateZoneSpace` in Unity? Explain its purpose and usage. | CustomRenderTexture.updateZoneSpace
public
CustomRenderTextureUpdateZoneSpace
updateZoneSpace
;
Description
The space in which Unity expresses update zones. You can set this to Normalized or Pixel space. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7b2fbdc28617 | unity_docs | ui | Show me a Unity C# example demonstrating `PlayerSettings.iOS.deferSystemGesturesMode`. | the system waits for before responding to the second swipe. The system ignores the first swipe to help prevent unintentional actions in the app. The iOS Human Interface Guidelines don't recommend turning on this setting, as it could confuse users.
Note:
If you enable
PlayerSettings.iOS.hideHomeButton
,
deferSystemGe... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_04e57515328f | unity_docs | scripting | What is `Bounds.Contains` in Unity? Explain its purpose and usage. | Bounds.Contains
Declaration
public bool
Contains
(
Vector3
point
);
Description
Is
point
contained in the bounding box?
If the
point
passed into
Contains
is inside the bounding box
a value of True is returned. Points on the min and max limits (corners and edges) of the bounding box are considered insid... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_272293aecb93 | unity_docs | editor | Show me a Unity C# example demonstrating `UIElements.DropdownMenu.RemoveItemAt`. | DropdownMenu.RemoveItemAt
Declaration
public void
RemoveItemAt
(int
index
);
Parameters
Parameter
Description
index
The index of the item to remove.
Description
Removes the menu item at index.
```csharp
using UnityEditor;
using UnityEngine;
using UnityEngine.UIElements;public class ContextMenuWindow : ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_0715dfae655e | unity_docs | ui | What is `UIElements.UQueryBuilder_1` in Unity? Explain its purpose and usage. | UQueryBuilder<T0>
struct in
UnityEngine.UIElements
/
Implemented in:
UnityEngine.UIElementsModule
Description
Utility Object that constructs a set of selection rules to be run on a root visual element.
A generic class that allows you to build queries for UI elements of type T.
You can refine queries using ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_eb5dc2097291 | unity_docs | scripting | What is `PlayerPrefs.SetFloat` in Unity? Explain its purpose and usage. | PlayerPrefs.SetFloat
Declaration
public static void
SetFloat
(string
key
,
float
value
);
Description
Sets the float value of the preference identified by the given key. You can use
PlayerPrefs.GetFloat
to retrieve this value.
The following example passes the
KeyName
and
Value
variables to a function ca... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_44d4757e6e56 | unity_docs | animation | What is `Animations.AnimationHumanStream.GetGoalWeightPosition` in Unity? Explain its purpose and usage. | AnimationHumanStream.GetGoalWeightPosition
Declaration
public float
GetGoalWeightPosition
(
AvatarIKGoal
index
);
Parameters
Parameter
Description
index
The AvatarIKGoal that is queried.
Returns
float
The position weight of the IK goal.
Description
Returns the position weight of the IK goal. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_a6d00f3b2d62 | unity_docs | rendering | In Unity's 'Skinned Mesh Renderer component reference', what is 'Lighting' and how does it work? | The Lighting section contains properties that relate to lighting.
Property Description Cast Shadows
Specify if and how this Renderer casts shadows when a suitable Light shines on it.
This property corresponds to the
Renderer.shadowCastingMode
API.
The options are:
On
: This Renderer casts a shadow when a shadow-casting... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_104beb490b9d | unity_docs | rendering | In Unity's 'Fallback font', what is 'Fallback font chain' and how does it work? | You can create local and global fallback font asset lists. Set local font asset lists in the
Font Assets property
and set global font asset lists in
UITK Text Settings
. In addition to the fallback fonts, TextCore searches other assets, such as the default sprite asset, for missing glyphs. Together, these assets form t... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_065babf5bae6 | unity_docs | physics | In Unity's 'Importing a model with humanoid animations', what is 'Mapping strategies' and how does it work? | If the model does not yield a valid match, you can use a similar process to the one that Unity uses internally:
Choose Clear from the Mapping menu at the bottom of the Avatar window to reset any mapping that Unity attempted.
Choose
Sample Bind-pose
from the Pose menu at the bottom of the Avatar window to approximate th... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_373c90bb8737 | unity_docs | rendering | Show me a Unity C# example demonstrating `Unity.Profiling.ProfilerCategory`. | ProfilerCategory
struct in
Unity.Profiling
/
Implemented in:
UnityEngine.CoreModule
Description
Use to specify category for instrumentation Profiler markers.
```csharp
using Unity.Profiling;public class MySystemClass
{
static readonly ProfilerMarker s_SimulatePerfMarker = new ProfilerMarker(ProfilerCategory.Ai... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_a04dcb01aede | unity_docs | editor | What is `VersionControl.IPopupMenuExtension` in Unity? Explain its purpose and usage. | IPopupMenuExtension
interface in
UnityEditor.VersionControl
Description
Version control system extension that allows displaying VCS specific context menu.
Additional resources:
VersionControlObject
.
Public Methods
Method
Description
DisplayPopupMenu
Displays a version control system context menu. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e5131330cf7e | unity_docs | physics | What is `Rigidbody2D.linearVelocity` in Unity? Explain its purpose and usage. | Rigidbody2D.linearVelocity
public
Vector2
linearVelocity
;
Description
The linear velocity of the Rigidbody2D represents the rate of change over time of the Rigidbody2D position in world-units.
The linear velocity is specified as a
Vector2
with components in the X and Y directions (there is no Z direction i... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_0b2732cc5801 | unity_docs | rendering | What is `GraphicsBuffer.Target` in Unity? Explain its purpose and usage. | Target
enumeration
Description
The intended targets for GraphicsBuffer.
Provide the intended targets (
target
) when creating a GraphicsBuffer. For example, pass
GraphicsBuffer.Target.Index
for a buffer to be usable as a geometry index buffer.
Different platforms and devices might or might not support different ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_193a1eff644e | unity_docs | scripting | What is `UIElements.BaseMaskField_1` in Unity? Explain its purpose and usage. | BaseMaskField<T0>
class in
UnityEditor.UIElements
/
Inherits from:
UIElements.BasePopupField_2
Description
Base class implementing the shared functionality for editing bit mask values. For more information, refer to
UXML element MaskField
.
Properties
Property
Description
choices
The list of choices to... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_20e6da9ccc93 | unity_docs | scripting | In Unity's 'Adding profiler markers to your code', what is 'Adding integer or floating point parameters to samples' and how does it work? | Sometimes you might want to add context to your code samples to identify specific conditions in which the code runs for a long time.
For example, if your system carries out simulations of objects, you can pass the number of objects with a
Profiler sample
. If the Profiler returns an abnormal number along with a long sa... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_47daffb3258b | unity_docs | math | What is `Unity.Properties.TypeUtility.InstantiateArray` in Unity? Explain its purpose and usage. | TypeUtility.InstantiateArray
Declaration
public static TArray
InstantiateArray
(int
count
);
Parameters
Parameter
Description
count
The size of the array to instantiate.
Returns
TArray
The array newly created array.
Description
Creates a new instance of an array with the given count.
Declaration
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7cfff2cab57c | unity_docs | scripting | What is `Rendering.CommandBufferExecutionFlags.AsyncCompute` in Unity? Explain its purpose and usage. | CommandBufferExecutionFlags.AsyncCompute
Description
Command buffers flagged for async compute execution will throw exceptions if non-compatible commands are added to them. See
ScriptableRenderContext.ExecuteCommandBufferAsync
and
Graphics.ExecuteCommandBufferAsync
. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_afa98e050c1a | unity_docs | rendering | What is `SkinnedMeshRenderer.skinnedMotionVectors` in Unity? Explain its purpose and usage. | SkinnedMeshRenderer.skinnedMotionVectors
public bool
skinnedMotionVectors
;
Description
Specifies whether skinned motion vectors should be used for this renderer.
If set to true, the SkinnedMeshRenderer generates vectors using skinning data from the current and last frame to calculate the per-pixel object move... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_3697da19a84d | unity_docs | audio | What is `Audio.AudioMixer.ClearFloat` in Unity? Explain its purpose and usage. | AudioMixer.ClearFloat
Declaration
public bool
ClearFloat
(string
name
);
Parameters
Parameter
Description
name
Exposed parameter.
Returns
bool
Returns false if the parameter was not found or could not be set.
Description
Resets an exposed parameter to its initial value. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_38a1071e82e8_doc_1 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | The camera that objects will face when spawned. If not set, defaults to the camera.
Signature:
```csharp
public Camera cameraToFace
``` | You are an experienced Unity developer specializing in C# scripting, XR/VR development, and performance optimization. |
local_sr_570d4a254940 | unity_docs | rendering | What is `Cubemap.format` in Unity? Explain its purpose and usage. | Cubemap.format
public
TextureFormat
format
;
Description
The format of the pixel data in the texture (Read Only).
Use this to determine the format of the texture.
```csharp
using UnityEngine;public class Example : MonoBehaviour
{
// Print the format of a given cubemap.
public Cubemap cubeMap; void Start()
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_12d1f9ec1384 | unity_docs | animation | Show me a Unity C# example demonstrating `FingerDof.LastFingerDof`. | FingerDof.LastFingerDof
Description
The last value of the
FingerDof
enum.
This value can be used in
for
loops.
```csharp
using UnityEngine;using UnityEngine.Animations;public class ExampleClass : MonoBehaviour
{
void Start()
{
for (int i = 0; i < (int)FingerDof.LastFingerDof; ++i)
{
var handle = new Muscl... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_430894c9c740 | unity_docs | rendering | What is `LightingSettings.filterTypeIndirect` in Unity? Explain its purpose and usage. | LightingSettings.filterTypeIndirect
public
LightingSettings.FilterType
filterTypeIndirect
;
Description
Specifies whether the Editor calculates the final global illumination light bounce at the same resolution as the baked lightmap.
When this is set to
None
, the Progressive Lightmapper does not filter indi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_e92c74ec2912 | unity_docs | scripting | Explain 'Reserved folder name reference' in Unity. | Every Unity project has an Assets folder in the project root which contains the project’s
assets
. The
Project window
displays the contents of the Assets folder.
Some limitations apply when choosing names for new folders. There are some names for subfolders of the Assets folder that Unity reserves for certain subtypes ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_1b1314b4b301 | unity_docs | rendering | What is `Rendering.BatchRendererGroup.UnregisterMesh` in Unity? Explain its purpose and usage. | BatchRendererGroup.UnregisterMesh
Declaration
public void
UnregisterMesh
(
Rendering.BatchMeshID
mesh
);
Parameters
Parameter
Description
mesh
BatchRendererGroup
mesh ID.
Description
Unregister the mesh ID associated with
BatchRendererGroup
. Each deregistration of a specific mesh reduces its number of ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_1209683f62a9 | unity_docs | animation | What is `Experimental.Animations.AnimationStreamSource.DefaultValues` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
AnimationStreamSource.DefaultValues
Description
AnimationStream
will be initialized with the default values from the
Animator
.
Before it is modified during
IAnimationJob.ProcessAnimation
or
IAnimationJob.ProcessRootMotion
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_08f21236f6f6 | unity_docs | scripting | Show me a Unity C# example demonstrating `SystemLanguage`. | SystemLanguage
enumeration
Description
The language the user's operating system is running in. Returned by Application.systemLanguage.
```csharp
using UnityEngine;public class Example : MonoBehaviour
{
void Start()
{
//This checks if your computer's operating system is in the French language
if (Application.sy... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_54096faeb5fb | unity_docs | rendering | Explain 'Custom data streams in Particle Systems in the Built-In Render Pipeline' in Unity. | Resources on implementing custom data streams in your Particle System particle rendering shader setup.
Property Function Particle System vertex streams
Understand how custom vertex streams can configure your
Particle Systems
to pass a wider range of data into your custom Shaders.
Example of Particle System Standard Sha... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_1851f8de8fd0 | unity_docs | scripting | What is `Video.VideoPlayer.started` in Unity? Explain its purpose and usage. | VideoPlayer.started
Parameters
Parameter
Description
value
The instance of the VideoPlayer that invokes the event.
Description
The VideoPlayer emits this event when the video starts to play.
After the VideoPlayer prepares the video and plays it, it emits this event. This event is useful if you want to play sou... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_dd499d1235e6 | unity_docs | scripting | What is `SearchService.ISearchEngineBase.BeginSearch` in Unity? Explain its purpose and usage. | ISearchEngineBase.BeginSearch
Declaration
public void
BeginSearch
(
SearchService.ISearchContext
context
,
string
query
);
Parameters
Parameter
Description
context
The search context.
query
The query string used for the search.
Description
A function called at the beginning of each search.
A search is... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_c31878244184 | unity_docs | performance | What is `Unity.Collections.NativeArray_1.ReadOnly.CopyTo` in Unity? Explain its purpose and usage. | NativeArray<T0>.CopyTo
Declaration
public void
CopyTo
(T[]
array
);
Declaration
public void
CopyTo
(NativeArray<T>
array
);
Parameters
Parameter
Description
array
The destination array to copy to.
Description
Copies all elements to a
ReadOnly
or managed array of the same length. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e158f7195f44 | unity_docs | ui | What is `UIElements.UxmlAttributeAttribute` in Unity? Explain its purpose and usage. | UxmlAttributeAttribute
class in
UnityEngine.UIElements
/
Implemented in:
UnityEngine.UIElementsModule
Description
Declares that a field or property is associated with a UXML attribute.
You can use the UxmlAttribute attribute to declare that a property or field is associated with a UXML attribute.
When an e... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_323d02ac2f4b | unity_docs | scripting | Show me a Unity C# example demonstrating `Animator.isInitialized`. | Animator.isInitialized
public bool
isInitialized
;
Description
Returns whether the animator is initialized successfully.
See
Animator.Rebind
to manually initialize the animator.
```csharp
using UnityEngine;public class CheckAndRebind : MonoBehaviour
{
Animator animator; void Start()
{
animator = GetCompo... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_110bca71a8e4 | unity_docs | rendering | Explain 'Configure edge reflections (Fresnel effect)' in Unity. | One important visual cue of objects in the real world has to do with how they become more reflective at grazing angles (illustrated below). This is called the
Fresnel effect
.
There are two things to note in this example; firstly, these reflections only appear around the edges of the sphere (that’s when its surface is ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_a4a389ded301 | unity_docs | rendering | What is `RenderTextureFormat.Default` in Unity? Explain its purpose and usage. | RenderTextureFormat.Default
Description
Default color render texture format: will be chosen accordingly to Frame Buffer format and Platform.
Typically this is
ARGB32
format.
Additional resources:
RenderTexture
class. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_afb8cc1c2af7 | unity_docs | scripting | Explain 'Deprecate an asset package on the Asset Store' in Unity. | Deprecation removes a published package from
Asset Store
search results, but it still exists on the Asset Store. This tells the users that you no longer support this package. Any users that have acquired this package can still access it and download the latest version.
The Asset Store team can also deprecate packages o... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_6d4ded50b379 | unity_docs | scripting | Show me a Unity C# example demonstrating `SystemLanguage.Greek`. | SystemLanguage.Greek
Description
Greek.
```csharp
using UnityEngine;public class Example : MonoBehaviour
{
void Start()
{
//This checks if your computer's operating system is in the Greek language
if (Application.systemLanguage == SystemLanguage.Greek)
{
//Outputs into console that the system is Greek
Debug.... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7b7553790863 | unity_docs | math | What is `GL.Vertex` in Unity? Explain its purpose and usage. | GL.Vertex
Declaration
public static void
Vertex
(
Vector3
v
);
Description
Submit a vertex.
In OpenGL this matches
glVertex3f(v.x,v.y,v.z)
; on other graphics APIs the same
functionality is emulated.
This function can only be called between
GL.Begin
and
GL.End
functions.
```csharp
using UnityEngine;publ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_c128eef4bc1b | unity_docs | audio | What is `Audio.AudioPlayableOutput` in Unity? Explain its purpose and usage. | AudioPlayableOutput
struct in
UnityEngine.Audio
/
Implemented in:
UnityEngine.AudioModule
Implements interfaces:
IPlayableOutput
Description
A
IPlayableOutput
implementation that will be used to play audio.
NOTE: You can use
PlayableOutputExtensions
methods with AudioPlayableOutput objects.
Static Propert... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_288d6583c325 | unity_docs | input | What is `UIElements.ITextEdition` in Unity? Explain its purpose and usage. | ITextEdition
interface in
UnityEngine.UIElements
Description
Interface to access a TextElement edition capabilities
This interface is not meant to be implemented explicitly
as its declaration might change in the future.
Properties
Property
Description
autoCorrection
Determines if the soft keyboard auto ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_3e5431e3e333 | unity_docs | math | What is `Rendering.RayTracingSubMeshFlags.Disabled` in Unity? Explain its purpose and usage. | RayTracingSubMeshFlags.Disabled
Description
Unity skips the sub-mesh when building a
RayTracingAccelerationStructure
. As a result, rays cast using
TraceRay
HLSL function will never intersect the sub-mesh. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_452eb470ad68 | unity_docs | rendering | Explain 'Importing a model' in Unity. | Model files can contain a variety of data, such as meshes, animation rigs and clips, materials, and textures.
Unity’s primary support for
model files
is the FBX format. However, you can save your 3D files from most common 3D modeling software in
their native format
(for example, .max, .blend, .mb, .ma). When Unity find... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.