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_aeceb8746ff4 | unity_docs | editor | What is `SceneManagement.PrefabOverride.FindApplyTargetAssetObject` in Unity? Explain its purpose and usage. | PrefabOverride.FindApplyTargetAssetObject
Declaration
protected Object
FindApplyTargetAssetObject
(string
prefabAssetPath
);
Parameters
Parameter
Description
prefabAssetPath
The asset path of the Prefab Asset to apply to.
Returns
Object
The object inside the Prefab Asset affected by the override.
Desc... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_cd8e3eb38a6a | unity_docs | rendering | What is `ParticleSystem.MainModule.playOnAwake` in Unity? Explain its purpose and usage. | ParticleSystem.MainModule.playOnAwake
public bool
playOnAwake
;
Description
If set to true, the Particle System automatically begins to play on startup.
Note that every Particle System in the current particle effect shares this setting. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9d00c6ba85ee | unity_docs | scripting | Show me a Unity C# example demonstrating `AudioType.ACC`. | dioType.ACC
Description
The audio file you want to stream has the Advanced Audio Coding (AAC) digital audio file format. Unity doesn’t natively support this format.
Use this enumeration value to ensure the format type of the audio file has the ACC audio file format. If it has a different format, Unity might not pla... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f185728ee81d | unity_docs | editor | What is `Android.UserBuildSettings.DebugSymbols.level` in Unity? Explain its purpose and usage. | UserBuildSettings.DebugSymbols.level
public static
Unity.Android.Types.DebugSymbolLevel
level
;
Description
Specifies what sections are included into the debug symbol.
```csharp
using UnityEditor.Android;
using Unity.Android.Types;public class Settings
{
public void Setup()
{
UserBuildSettings.DebugSymbols... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_d679aa5a675c | unity_docs | physics | In Unity's 'Import Activity window reference', what is 'Asset list' and how does it work? | On the left side of the Import Activity window, a list of assets that Unity has imported into your project is displayed. The following information is available:
Property Description Asset
The name of the asset and its extension.
Last Import
When Unity last imported the asset.
Duration(ms)
The amount of time that the la... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_cdcb1024ee3a | unity_docs | scripting | Give me an overview of the `RenderSettings` class in Unity. | RenderSettings
class in
UnityEngine
/
Inherits from:
Object
/
Implemented in:
UnityEngine.CoreModule
Description
The Render Settings contain values for a range of visual elements in your Scene, like fog and ambient light.
Note that render settings are per-scene.
Static Properties
Property
Description
ambi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_3ff630cec0c3 | unity_docs | physics | What is `Rigidbody2D.angularVelocity` in Unity? Explain its purpose and usage. | Rigidbody2D.angularVelocity
public float
angularVelocity
;
Description
Angular velocity in degrees per second.
A Rigidbody2D can only rotate around one axis (the Z axis) so the angular velocity is a single float value rather than a vector. Typically, the value of this property is not set directly but rather by ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7db3a7943f17 | unity_docs | scripting | What is `Input.accelerationEventCount` in Unity? Explain its purpose and usage. | Input.accelerationEventCount
public static int
accelerationEventCount
;
Description
Number of acceleration measurements which occurred during last frame.
Note
: This API is part of the legacy Input Manager. The recommended best practice is that you don't use this API in new projects. For new projects, use the I... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_1e0b6a83297e | unity_docs | editor | What is `EditorGUILayout.EditorToolbarForTarget` in Unity? Explain its purpose and usage. | EditorGUILayout.EditorToolbarForTarget
Declaration
public static void
EditorToolbarForTarget
(
Object
target
);
Declaration
public static void
EditorToolbarForTarget
(
GUIContent
content
,
Object
target
);
Parameters
Parameter
Description
target
The target object.
content
An optional prefix label... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9f0eaf0aec91 | unity_docs | physics | What is `HumanDescription.upperLegTwist` in Unity? Explain its purpose and usage. | HumanDescription.upperLegTwist
public float
upperLegTwist
;
Description
Defines how the upper leg's roll/twisting is distributed between the thigh and knee joints.
When the upper leg needs to twist or roll based on IK,
upperLegTwist
(a weighted range of 0..1) determines how much rotation is applied to the thi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_06044339a9b6 | unity_docs | scripting | What is `NVIDIA.DLSSContext.initData` in Unity? Explain its purpose and usage. | DLSSContext.initData
public ref readonly
NVIDIA.DLSSCommandInitializationData
initData
;
Description
The immutable initialization data the DLSSContext requires.
Additional resources:
DLSSCommandInitializationData
. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_cc9f91222544 | unity_docs | math | Explain 'Export an Android project' in Unity. | If you need more control over the build pipeline, you can export a Unity project as a Gradle project and import that into Android Studio. This is useful if you want more control over the build pipeline, want to see or modify the
Android App Manifest
that Unity generates for your application, or
integrate Unity-powered ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_07d7b6925f4b | unity_docs | editor | What is `Profiling.FrameDataView.UnityObjectNativeTypeInfo` in Unity? Explain its purpose and usage. | UnityObjectNativeTypeInfo
struct in
UnityEditor.Profiling
Description
Unity native type information.
```csharp
using UnityEditorInternal;
using UnityEditor.Profiling;public class Example
{
public static string GetInstanceName(int frame, int instanceId)
{
using (var frameData = ProfilerDriver.GetRawFrameDataVie... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_4c78b10ac28b | unity_docs | scripting | What is `UIElements.Foldout.ussClassName` in Unity? Explain its purpose and usage. | Foldout.ussClassName
public static string
ussClassName
;
Description
The USS class name for Foldout elements.
Unity adds this USS class to every instance of a
Foldout
. Any styling applied to
this class affects every Foldout located beside, or below the stylesheet in the visual tree. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_10bd726b94e2 | unity_docs | physics | Explain 'Physics Profiler module' in Unity. | The Physics Profiler module displays information about the physics that the physics system has processed in your project’s
scene
. This information can help you diagnose and resolve performance issues or unexpected discrepancies related to the physics in your project’s scene. You can also use the
Physics Debug Visualiz... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_43b262c8394d_doc_0 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Disable in inherited editors to draw the validation at any point of your code.
Signature:
```csharp
protected bool autoDrawSingletonValidation = true;
``` | You are an experienced Unity developer specializing in C# scripting, XR/VR development, and performance optimization. |
local_man_e2deafa1b2bf | unity_docs | audio | Explain 'Use your native audio DSP plug-in and GUI in Unity' in Unity. | Once you create your
audio DSP plug-in and customize your GUI to your liking
, you can build your file and import it into Unity.
## 1. Compile and build your plug-ins
You must implement your
plug-ins
as a dynamic library for your preferred platform. Unlike with scripts , any platform that you want to support must be ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_fc18f56deeba | unity_docs | ui | In Unity's 'Web template structure and instantiation', what is 'Custom user variables' and how does it work? | When you select a Web template, Unity parses the template and looks for
JavaScript macros and conditional directives
.
Unity treats JavaScript variables as custom user variables if they’re:
Used inside JavaScript macros and conditional directives.
Not declared in the template code.
Not internal pre-processor variables.... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_5a333846f51a | unity_docs | rendering | In Unity's 'Transparent Cutout Bumped Diffuse', what is 'Normal Mapped Properties' and how does it work? | Like a Diffuse shader, this computes a simple (Lambertian) lighting model. The lighting on the surface decreases as the angle between it and the light decreases. The lighting depends only on the angle, and does not change as the camera moves or rotates around.
Normal mapping
simulates small surface details using a text... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e5252485375d | unity_docs | math | What is `Ray2D.ctor` in Unity? Explain its purpose and usage. | Ray2D Constructor
Declaration
public
Ray2D
(
Vector2
origin
,
Vector2
direction
);
Parameters
Parameter
Description
Vector2
Origin.
Vector2
Direction.
Description
Creates a 2D ray starting at
origin
along
direction
.
```csharp
using UnityEngine;public class ExampleClass : MonoBehaviour
{
void St... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_a1a514a02da3 | unity_docs | rendering | Explain 'Support DOTS Instancing in a a custom shader in URP' in Unity. | To support DOTS Instancing, a shader needs to do the following:
Use shader model 4.5 or newer. Specify
#pragma target 4.5
or higher.
Support the DOTS_INSTANCING_ON keyword. Declare this with
#pragma multi_compile _ DOTS_INSTANCING_ON
.
Declare at least one block of DOTS Instanced properties each of which has least one ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_898c2156de1f | unity_docs | xr | What is `XR.XRDisplaySubsystem.disableLegacyRenderer` in Unity? Explain its purpose and usage. | XRDisplaySubsystem.disableLegacyRenderer
public bool
disableLegacyRenderer
;
Description
Disables the legacy renderer while this
XRDisplaySubsystem
is active.
The scriptable render pipeline can render to XR devices by querying information on this
XRDisplaySubsystem
. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_be8afbb7b352 | unity_docs | rendering | Give me an overview of the `CullingGroup` class in Unity. | CullingGroup
class in
UnityEngine
/
Implemented in:
UnityEngine.CoreModule
Description
Describes a set of bounding spheres that should have their visibility and distances maintained.
Properties
Property
Description
enabled
Pauses culling group execution.
onStateChanged
Sets the callback that will be called ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ce07f990f40d | unity_docs | editor | What is `Rendering.GraphicsSettings.currentRenderPipeline` in Unity? Explain its purpose and usage. | GraphicsSettings.currentRenderPipeline
public static
Rendering.RenderPipelineAsset
currentRenderPipeline
;
Description
The
RenderPipelineAsset
that defines the active render pipeline for the current quality level.
The active render pipeline is the render pipeline that Unity is currently using to render your... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_047aa9584fde | unity_docs | rendering | In Unity's 'Reduce rendering work on the CPU or GPU', what is 'Reducing the CPU cost of rendering' and how does it work? | Usually, the greatest contributor to CPU rendering time is the cost of sending rendering commands to the GPU. Rendering commands include draw calls (commands to draw geometry), and commands to change the settings on the GPU before drawing the geometry. If this is the case, consider these options:
You can reduce the num... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f3ae39742f83 | unity_docs | rendering | Show me a Unity C# example demonstrating `EditorWindow.OnFocus`. | EditorWindow.OnFocus()
Description
Called when the window gets keyboard focus.
Additional resources:
OnLostFocus
.
Preview your camera in orthographic mode when you select the window.
```csharp
// Simple script that lets you preview your main camera in
// Orthographic view when selected.
using UnityEngine;
usin... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7740082d2b8e | unity_docs | editor | What is `EditorUtility.SetDefaultParentObject` in Unity? Explain its purpose and usage. | EditorUtility.SetDefaultParentObject
Declaration
public static void
SetDefaultParentObject
(
GameObject
defaultParentObject
);
Parameters
Parameter
Description
defaultParentObject
The GameObject to set as the default parent object.
Description
Sets the default parent object for the active Scene.
When a G... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_72e0b17b61a5 | unity_docs | rendering | What are the parameters of `Graphics.DrawProceduralIndirect` in Unity? | Description Draws procedural geometry on the GPU. This function is now obsolete. For non-indexed rendering, use RenderPrimitivesIndirect instead.
For indexed rendering, use RenderPrimitivesIndexedIndirect. This function only works on platforms that support compute shaders . DrawProceduralIndirect does a draw call on t... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b43b6ae5d0fa | unity_docs | physics | What is `SceneManagement.CreateSceneParameters` in Unity? Explain its purpose and usage. | CreateSceneParameters
struct in
UnityEngine.SceneManagement
/
Implemented in:
UnityEngine.CoreModule
Description
This struct collects all the CreateScene parameters in to a single place.
Properties
Property
Description
localPhysicsMode
See LocalPhysicsMode. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_fcca6c4c5dc1 | unity_docs | scripting | What is `Unity.Android.Gradle.Manifest.UsesSdk` in Unity? Explain its purpose and usage. | UsesSdk
class in
Unity.Android.Gradle.Manifest
/
Inherits from:
Unity.Android.Gradle.Manifest.BaseElement
Description
The C# definition of the
<uses-sdk>
Android Manifest element.
For more information about the element, see Android's documentation:
UsesSdk element
Properties
Property
Description
Attrib... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f8c30c9b1119 | unity_docs | scripting | What is `TerrainTools.TerrainPaintToolWithOverlaysBase` in Unity? Explain its purpose and usage. | TerrainPaintToolWithOverlaysBase
class in
UnityEditor.TerrainTools
/
Inherits from:
EditorTools.EditorTool
Description
The abstract class that TerrainPaintToolWithOverlays inherits from.
Contains fields that can be overridden when you implement your own terrain painting tools to display in Terrain overlays. Whe... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b508865513e9 | unity_docs | scripting | Show me a Unity C# example demonstrating `DeviceType.Console`. | DeviceType.Console
Description
A stationary gaming console.
```csharp
//Attach this script to a GameObject
//This script checks what device type the Application is running on and outputs this to the consoleusing UnityEngine;public class DeviceTypeExample : MonoBehaviour
{
//This is the Text for the Label at the to... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_674ce98b2677 | unity_docs | editor | What is `UIElements.Columns.resizePreview` in Unity? Explain its purpose and usage. | Columns.resizePreview
public bool
resizePreview
;
Description
Indicates whether columns are resized as the user drags resize handles or only upon mouse release.
When enabled, resizing can be cancelled by pressing ESC key. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_6a8618dd7dbc | unity_docs | editor | What are the parameters of `AssetDatabase.DeleteAsset` in Unity? | Returns bool Returns true if the asset has been successfully removed, false if it doesn't exist or couldn't be removed. Description Deletes the specified asset or folder. Paths should be relative to the project folder, for example: "Assets/MyTextures/hello.png" Additional resources: AssetDatabase.DeleteAssets , AssetDa... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_0a1a33696e4d | unity_docs | scripting | What is `Vector2.SignedAngle` in Unity? Explain its purpose and usage. | Vector2.SignedAngle
Declaration
public static float
SignedAngle
(
Vector2
from
,
Vector2
to
);
Parameters
Parameter
Description
from
The vector from which the angular difference is measured.
to
The vector to which the angular difference is measured.
Returns
float
The signed angle in degrees between... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_19b607d56387 | unity_docs | scripting | What is `AnimationState.normalizedSpeed` in Unity? Explain its purpose and usage. | AnimationState.normalizedSpeed
public float
normalizedSpeed
;
Description
The normalized playback speed.
This is most commonly used to synchronize playback speed when blending between two animations.
In most cases it is easier and better to use
Animation Layer syncing
instead.
```csharp
using UnityEngine;
us... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e631d9acbebd | unity_docs | editor | What is `Unity.Profiling.Editor.ProfilerModuleViewController` in Unity? Explain its purpose and usage. | ProfilerModuleViewController
class in
Unity.Profiling.Editor
Description
Provides a single view of content for a
ProfilerModule
displayed in the Profiler window.
Use this class to perform a custom drawing in a
ProfilerModule
, such as drawing a custom Details View.
To build the module's view hierarchy, define ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_1ae315a08b14 | unity_docs | physics | What is `ContactPoint2D.friction` in Unity? Explain its purpose and usage. | ContactPoint2D.friction
public float
friction
;
Description
The effective friction used for the
ContactPoint2D
.
When two
Collider2D
come into contact, their
Collider2D.friction
values combine.
This property represents the combined friction and is used by the physics solver to calculate the collision respo... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_f8d2c863c2f0 | unity_docs | rendering | Explain 'Crop or stretch the view with Gate Fit' in Unity. | Resources about using the
Gate Fit
setting on a Physical Camera component to crop, overscan or stretch the camera view.
Page Description Gate Fit
Learn about how Gate Fit determines what happens when the Game view and the physical camera sensor have different
aspect ratios
.
Configure Gate Fit
Use the
Gate Fit
setting ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_8d86556e9363 | unity_docs | rendering | In Unity's 'Tessellation Surface Shader examples in the Built-In Render Pipeline', what is 'Fixed amount of tessellation' and how does it work? | If your model’s faces are roughly the same size on screen, add a fixed amount of tesselation to the Mesh (the same tessellation level over the whole Mesh).
The following example script applies a fixed amount of tessellation.
```csharp
Shader "Tessellation Sample" {
Properties {
_Tess ("Tessellation", Range(1,32)) = 4... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_fdac4524cadc | unity_docs | physics | Show me a Unity C# example demonstrating `RaycastHit.collider`. | RaycastHit.collider
public
Collider
collider
;
Description
The
Collider
that was hit.
This property is null if the ray hit nothing and not-null if it hit a Collider.
```csharp
using UnityEngine;public class Example : MonoBehaviour
{
void Update()
{
if (Input.GetMouseButtonDown(0))
{
RaycastHit hit;
R... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e9e20fb77147 | unity_docs | physics | Show me a Unity C# example demonstrating `Rigidbody.AddTorque`. | ange: Interprets the parameter as a direct angular velocity change (measured in radians per second), and changes the angular velocity by the value of torque. The effect doesn't depend on the mass of the body and the simulation step length.
Wakes up the Rigidbody by default. If the torque size is zero then the Rigidbod... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b6bd2cd1cc1a | unity_docs | editor | What is `SceneManagement.SceneManager.GetSceneAt` in Unity? Explain its purpose and usage. | SceneManager.GetSceneAt
Declaration
public static
SceneManagement.Scene
GetSceneAt
(int
index
);
Parameters
Parameter
Description
index
Index of the scene to get. Index must be greater than or equal to 0 and less than
SceneManager.sceneCount
.
Returns
Scene
A reference to the Scene at the index specif... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_d2865d5d2a9a_doc_0 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Runtime color lookup for item ids.ItemId 0 is reserved for no payload.
Signature:
```csharp
public struct ItemColorPaletteData
``` | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_bf909948a685 | unity_docs | scripting | In Unity's 'Create a native plug-in for iOS', what is 'Configure plug-in settings' and how does it work? | To configure plug-in settings for iOS:
Select the plug-in and view it in the
Inspector
.
In the
Select platforms for plugin
section, enable
iOS
.
In the
Platform settings
section, set CPU to the CPU architecture for your plug-in.
Select
Apply
. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_1386af498afe | unity_docs | rendering | Explain 'Introduction to material properties' in Unity. | In your ShaderLab code, you can define
material properties
. A material property is a property that Unity stores as part of the material asset. This allows artists to create, edit, and share materials with different configurations.
If you use material properties:
You can get or set the value of a variable in a Shader o... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_1ddfcdb8fded | github | scripting | Write a Unity Editor script for Export TGZ | ```csharp
using UnityEngine;
using UnityEditor;
using System.IO;
using System;
using UnityEditor.PackageManager;
namespace Unity.XR.OpenXR.Features.UnityOpenXR
{
public class ExportTGZ
{
[MenuItem("Tools/ExportTGZ")]
public static void Exec()
{
BuildTGZ();
}
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_60c314115e5b | unity_docs | math | Show me a Unity C# example demonstrating `Mathf.Epsilon`. | , use
Mathf.Approximately
or a tolerance that reflects your data’s scale, typically a combination of absolute and relative tolerances.
Operations with Epsilon follow these rules:
anyValue + Epsilon = anyValue
anyValue - Epsilon = anyValue
0 + Epsilon = Epsilon
0 - Epsilon = -Epsilon
A value between any number ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_d5ad47c60155 | unity_docs | editor | What is `Experimental.Rendering.SceneStateHash` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
SceneStateHash
struct in
UnityEditor.Experimental.Rendering
Description
This class contains hashes that represents the Scene state.
Properties
Property
Description
ambientProbeHash
A hash representing the state of the ambie... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_92f23aec1614 | unity_docs | rendering | Show me a Unity C# example demonstrating `Object.hideFlags`. | Object.hideFlags
public
HideFlags
hideFlags
;
Description
Should the object be hidden, saved with the Scene or modifiable by the user?
Additional resources:
HideFlags
.
```csharp
using UnityEngine;
using System.Collections;public class ExampleClass : MonoBehaviour
{
// Creates a material that is explicitl... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_6d5f4d09941c | unity_docs | scripting | Show me a Unity C# example demonstrating `Rigidbody.centerOfMass`. | anslating them, scaling etc. To revert back to the automatically computed center of mass, use
Rigidbody.ResetCenterOfMass
.
Setting the center of mass is often useful when simulating cars to make them more stable.
A car with a lower center of mass is less likely to topple over.
Note:
centerOfMass
is relative to the ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_26ec0d46fae2 | unity_docs | rendering | Show me a Unity C# example demonstrating `ParticleSystem.RotationBySpeedModule.xMultiplier`. | ParticleSystem.RotationBySpeedModule.xMultiplier
public float
xMultiplier
;
Description
Speed multiplier along the x-axis.
Changing this property is more efficient than accessing the entire curve, if you only want to change the overall speed multiplier.
```csharp
using UnityEngine;
using System.Collections;[R... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_914232abc36b | unity_docs | scripting | What is `PivotRotation` in Unity? Explain its purpose and usage. | PivotRotation
enumeration
Description
How is the tool handle oriented.
Properties
Property
Description
Local
The tool handle is oriented from the active object.
Global
The tool handle is aligned along the global axes. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_33ffefa813ab | unity_docs | physics | What is `AssetPostprocessor.OnPreprocessAudio` in Unity? Explain its purpose and usage. | AssetPostprocessor.OnPreprocessAudio()
Description
Add this function to a subclass to get a notification just before an audio clip is being imported.
This lets you control the import settings trough code.
```csharp
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;pub... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_bcf4f262545e | unity_docs | rendering | What is `RenderTexture.active` in Unity? Explain its purpose and usage. | RenderTexture.active
public static
RenderTexture
active
;
Description
Currently active render texture.
All rendering goes into the active RenderTexture.
If the active RenderTexture is
null
everything is rendered in the main window.
Setting
RenderTexture.active
is the same as calling
Graphics.SetRenderTa... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9118d0b58fe6 | unity_docs | rendering | What is `ComputeBuffer.ctor` in Unity? Explain its purpose and usage. | ComputeBuffer Constructor
Declaration
public
ComputeBuffer
(int
count
,
int
stride
);
Declaration
public
ComputeBuffer
(int
count
,
int
stride
,
ComputeBufferType
type
);
Declaration
public
ComputeBuffer
(int
count
,
int
stride
,
ComputeBufferType
type
,
ComputeBufferMode
usage
);
Parameter... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_6bc045abcd9e | unity_docs | animation | What is `AnimationCurve.keys` in Unity? Explain its purpose and usage. | AnimationCurve.keys
public Keyframe[]
keys
;
Description
All keys defined in the animation curve.
This lets you clear, add or remove any keys from the array.
If keys are not sorted by time, they will be automatically sorted on assignment.
Note that the array is "by value", i.e. getting keys returns a copy of al... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f09e4391a745 | unity_docs | physics | What is `Search.SearchPropositionFlags` in Unity? Explain its purpose and usage. | SearchPropositionFlags
enumeration
Description
The search proposition flags are used to give additional context to the search proposition.
These flags are also used with
SearchPropositionOptions
.
Properties
Property
Description
None
Indicates no flags are used.
FilterOnly
This search proposition will only b... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_fc82216b0f82 | unity_docs | ui | What is `UIElements.VisualElement.usageHints` in Unity? Explain its purpose and usage. | VisualElement.usageHints
public
UIElements.UsageHints
usageHints
;
Description
A combination of hint values that specify high-level intended usage patterns for the
VisualElement
.
This property can only be set when the
VisualElement
is not yet part of a Panel. Once part of a Panel, this property becomes e... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_d6c82e08f11d | unity_docs | rendering | Give me an overview of the `ParticleSystemAnimationType` class in Unity. | ParticleSystemAnimationType
enumeration
Description
The animation type.
Controls how texture sheet animations play.
Additional resources: ParticleSystem.textureSheetAnimation.type.
Properties
Property
Description
WholeSheet
Animate over the whole texture sheet from left to right, top to bottom.
SingleRow
Anim... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2cc60acfa6db | unity_docs | scripting | What is `Camera.worldToCameraMatrix` in Unity? Explain its purpose and usage. | Camera.worldToCameraMatrix
public
Matrix4x4
worldToCameraMatrix
;
Description
Matrix that transforms from world to camera space.
This matrix is often referred to as "view matrix" in graphics literature.
Use this to calculate the Camera space position of GameObjects or to provide a custom Camera's
location th... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_a050fc86634d | unity_docs | physics | What is `Progress.Remove` in Unity? Explain its purpose and usage. | Progress.Remove
Declaration
public static int
Remove
(int
id
);
Declaration
public static int
Remove
(int
id
,
bool
forceSynchronous
);
Parameters
Parameter
Description
id
The progress indicator's unique ID.
forceSynchronous
When you set this parameter to true it forces this method to remove the prog... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9326cedd5459 | unity_docs | editor | Show me a Unity C# example demonstrating `EditorGUI.LabelField`. | Parameters
Parameter
Description
position
Rectangle on the screen to use for the label field.
label
Label in front of the label field.
label2
The label to show to the right.
style
Style information (color, etc) for displaying the label.
Description
Makes a label field. (Useful for showing read-only info.)
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_f82cb51563a0_doc_2 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Retrieves an item from the locator by its type and optional key.
Signature:
```csharp
public TItem GetItem<TItem>(string key = "") where TItem : TBase
``` | You are an expert Unity game developer. Provide clear, accurate, and practical answers about Unity development. |
local_sr_4cbf319c81c0 | unity_docs | editor | What is `Device.SystemInfo.foveatedRenderingCaps` in Unity? Explain its purpose and usage. | SystemInfo.foveatedRenderingCaps
public static
Rendering.FoveatedRenderingCaps
foveatedRenderingCaps
;
Description
This has the same functionality as
SystemInfo.foveatedRenderingCaps
and also mimics platform-specific behavior in the Unity Editor. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_db014ebde979 | unity_docs | performance | Explain 'Thread safe types' in Unity. | The job system works best when you use it with the
Burst compiler
. Because Burst doesn’t support managed objects, you need to use unmanaged types to access the data in jobs. You can do this with
blittable types
, or use Unity’s built-in NativeContainer objects.
Topic Description Introduction to NativeContainer
Underst... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_e86ebf2b0978_doc_8 | github | scripting | What does `IPoolable` do in this Unity script? Explain its purpose and signature. | Destroys the specified non-MonoBehaviour object and removes it from the pool.The type of the non-MonoBehaviour object to destroy.The object to destroy.
Signature:
```csharp
public void DestroyPure<T>(T obj) where T : class, IPoolable =>
GetPool<PurePool<T>, T>(_purePools).Destroy(obj);
``` | You are a knowledgeable Unity developer. Explain Unity concepts clearly and provide practical, tested code examples. |
local_sr_968711960d32 | unity_docs | editor | Give me an overview of the `DialogOptOutDecisionType` class in Unity. | DialogOptOutDecisionType
enumeration
Description
The type of opt-out decision a user can make.
This enum is used with
EditorUtility.DisplayDialog
and specifies the nature of the opt-out decision Unity presents to the user. It stores the user's decision on how long they would like to opt out for: either just for ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_bd7628d11021 | unity_docs | math | What is `Camera.cameraToWorldMatrix` in Unity? Explain its purpose and usage. | Camera.cameraToWorldMatrix
public
Matrix4x4
cameraToWorldMatrix
;
Description
Matrix that transforms from camera space to world space (Read Only).
Use this to calculate where in the world a specific camera space point is.
Note that camera space matches OpenGL convention: camera's forward is the negative
Z ax... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_30314014a3df | unity_docs | rendering | What is `LightTransport.RadeonRaysWorld` in Unity? Explain its purpose and usage. | RadeonRaysWorld
class in
UnityEngine.LightTransport
Implements interfaces:
IWorld
Description
RadeonRays integration world.
This is an abstration for the different world space structures used by the integrator. This could be acceleration structures, lookup tables and other data structures that can be shared betw... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_50b796d4e185 | unity_docs | scripting | What is `UIElements.TransitionEventBase_1` in Unity? Explain its purpose and usage. | TransitionEventBase<T0>
class in
UnityEngine.UIElements
/
Inherits from:
UIElements.EventBase_1
/
Implemented in:
UnityEngine.UIElementsModule
Implements interfaces:
ITransitionEvent
Description
Transition events abstract base class.
Properties
Property
Description
elapsedTime
The number of seconds t... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_dced39de7fc7 | unity_docs | scripting | What is `Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle.CheckWriteAndThrow` in Unity? Explain its purpose and usage. | AtomicSafetyHandle.CheckWriteAndThrow
Declaration
public static void
CheckWriteAndThrow
(
Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle
handle
);
Parameters
Parameter
Description
handle
The AtomicSafetyHandle to check.
Description
Check whether the referenced native container can be written to.
Th... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_507eed6fd16c | unity_docs | rendering | What is `Rendering.RenderTargetFlags` in Unity? Explain its purpose and usage. | RenderTargetFlags
enumeration
Description
This enum describes optional flags for the
RenderTargetBinding
structure.
This enum describes optional flags for the
RenderTargetBinding
structure.
Properties
Property
Description
None
No flag option (0).
ReadOnlyDepth
The depth buffer bound for rendering may al... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_a33a8ed026eb | unity_docs | physics | Show me a Unity code example for 'Texture compression in Web'. | ds for both desktop browsers and mobile browsers with their corresponding texture compression formats, refer to
Create builds for desktop and mobile browsers from a script
.
## Create builds for desktop and mobile browsers from a script
You can run a build for both desktop browsers and mobile browsers with the corres... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_94dd4f131c1b | unity_docs | scripting | Show me a Unity C# example demonstrating `SystemLanguage.Turkish`. | SystemLanguage.Turkish
Description
Turkish.
```csharp
using UnityEngine;public class Example : MonoBehaviour
{
void Start()
{
//This checks if your computer's operating system is in the Turkish language
if (Application.systemLanguage == SystemLanguage.Turkish)
{
//Outputs into console that the system is Turki... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_4051eed13292 | unity_docs | rendering | Show me a Unity C# example demonstrating `Search.SearchProvider.onEnable`. | SearchProvider.onEnable
public
Unity.Android.Gradle.Manifest.Action
onEnable
;
Description
Called when the SearchWindow is opened. Allows the search provider to perform some caching.
```csharp
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.Search;
using UnityEngine;
static class Light... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_8d5d30df95d0 | unity_docs | scripting | In Unity's 'Programming with the Asset Database', what is 'Batching AssetDatabase operations' and how does it work? | You can use batching to save time when making changes to assets from code. If you make changes to multiple assets, the Asset Database’s default behavior is to process each change in turn, and perform a full
refresh process
for the asset before moving on to the next line of code.
The following example changes three asse... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_628be7b73636 | unity_docs | editor | In Unity's 'Set up your environment for UWP', what is 'Install dependencies' and how does it work? | Unity distributes dependencies as modules which means you use the
Unity Hub
to install them. The module you need is
UWP Build Support
. You can install it either when you install a new Unity Editor version, or add it to an existing Unity Editor install. To install modules:
At install time, refer to
Downloading and inst... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_f522b91ce703_doc_22 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Represents an object which can receive eleven arguments as part of its initialization process.Base interface of .
Signature:
```csharp
public interface IElevenArguments
``` | You are a senior Unity engineer. Answer questions about Unity scripting, XR/VR development, and game systems with working code examples. |
local_sr_72160091fe7e | unity_docs | scripting | Show me a Unity C# example demonstrating `RenderingLayerMask.operator_uint`. | RenderingLayerMask.RenderingLayerMask
Description
Implicitly converts
uint
to a RenderingLayerMask.
```csharp
using UnityEngine;
using UnityEngine.Rendering;public class Example : MonoBehaviour
{
void Start()
{
// Converts a uint to a rendering layer and prints all the rendering layer names.
// As the value i... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_56db630a031b | unity_docs | editor | What is `VersionControl.Provider.GetLatest` in Unity? Explain its purpose and usage. | Provider.GetLatest
Declaration
public static
VersionControl.Task
GetLatest
(
VersionControl.AssetList
assets
);
Declaration
public static
VersionControl.Task
GetLatest
(
VersionControl.Asset
asset
);
Parameters
Parameter
Description
assets
List of assets to update.
asset
Asset to update.
Descri... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_3fa6598dcf8c | unity_docs | rendering | What is `MaterialPropertyBlock.GetInt` in Unity? Explain its purpose and usage. | MaterialPropertyBlock.GetInt
Declaration
public int
GetInt
(string
name
);
Declaration
public int
GetInt
(int
nameID
);
Parameters
Parameter
Description
nameID
The name ID of the property retrieved by
Shader.PropertyToID
.
name
The name of the property.
Description
This method is deprecated. Use
G... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_6e0b4b2522e0 | unity_docs | scripting | What is `ExcludeFromPresetAttribute` in Unity? Explain its purpose and usage. | ExcludeFromPresetAttribute
class in
UnityEngine
/
Implemented in:
UnityEngine.CoreModule
Description
Add this attribute to a class to prevent creating a
Preset
from the instances of the class. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_a6d4f3d42f6b | unity_docs | rendering | Explain 'Introduction to render pipelines' in Unity. | A
render pipeline
takes the objects in a scene and displays them on-screen.
## How a render pipeline works
A render pipeline follows these steps:
Culling, where the pipeline decides which objects from the scene to display. This usually means it removes objects that are outside the camera view (
frustum culling
) or h... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_5f8eea573a9b | unity_docs | scripting | Explain 'Create TreeView with IMGUI' in Unity. | Note
: It’s strongly recommended to use the
UI Toolkit
to extend the
Unity Editor
, as it provides a more modern, flexible, and scalable solution than IMGUI.
The information on this page assumes the reader has basic knowledge of IMGUI (Immediate Mode GUI) concepts. For information about IMGUI and customizing Editor win... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_d6ce270b22f1 | unity_docs | scripting | What is `PackageManager.PackageInfo.isDirectDependency` in Unity? Explain its purpose and usage. | PackageInfo.isDirectDependency
public bool
isDirectDependency
;
Description
If the package is a direct dependency of the project.
Direct dependencies are packages that you have explicitly included in your project, either by adding them using the package manager, or including them in the manifest file. They are... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ba77b39587f2 | unity_docs | math | Show me a Unity C# example demonstrating `Animator.MatchTarget`. | r the first one to finish, otherwise your target matching will be discarded.
If you call a
MatchTarget
with a start time lower than the clip's normalized time and the clip can loop,
MatchTarget
will adjust the time to match the next clip loop. For example, start time= 0.2 normalized time = 0.3, start time will be 1... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e88186b5590b | unity_docs | rendering | What is `AssetImporters.SourceTextureInformation` in Unity? Explain its purpose and usage. | SourceTextureInformation
class in
UnityEditor.AssetImporters
Description
Original texture data information.
Properties
Property
Description
containsAlpha
Determines if alpha channel is present in image data.
hdr
Determines if image has HDR data.
height
Height of the image data.
width
Width of the image data... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_623c53ba00ae | unity_docs | rendering | In Unity's 'Grass and other details', what is 'Paint Details' and how does it work? | To enable grass and detail painting, select the
Paint Details
button on the Terrain Inspector toolbar
.
To access
Paint Details
from an overlay:
In the
Terrain Tools
overlay, select
Foliage Mode
. Foliage Mode tools display at the end of the
Terrain Tools
overlay.
From the available Foliage Mode tools on the
Terrain To... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_5b3e7cedb21c | unity_docs | editor | Show me a Unity C# example demonstrating `Search.ISearchView.SetSearchText`. | string
searchText
,
Search.TextCursorPlacement
moveCursor
);
Declaration
public void
SetSearchText
(string
searchText
,
Search.TextCursorPlacement
moveCursor
,
int
cursorInsertPosition
);
Parameters
Parameter
Description
searchText
Text displayed in the search view.
moveCursor
Position of the curs... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9f87d1f96e33 | unity_docs | xr | What is `XR.XRSettings.supportedDevices` in Unity? Explain its purpose and usage. | XRSettings.supportedDevices
public static string[]
supportedDevices
;
Description
Returns a list of supported XR devices that were included at build time.
Any of these devices can be loaded with XRSettings.LoadDeviceByName. In order to get a device to show up in this list, it must be included at build time in
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_4a1e04725075_doc_2 | github | scripting | What does `TargetObject` do in this Unity script? Explain its purpose and signature. | Current target object
Signature:
```csharp
private object TargetObject => serializedObject?.targetObject;
``` | You are an experienced Unity developer specializing in C# scripting, XR/VR development, and performance optimization. |
local_sr_33e9f26d9cf7 | unity_docs | editor | What is `GizmoType` in Unity? Explain its purpose and usage. | GizmoType
enumeration
Description
Determines how a gizmo is drawn or picked in the Unity editor.
The types can be combined together with an OR operator.
Additional resources:
DrawGizmo
.
Properties
Property
Description
Pickable
The gizmo can be picked in the editor.
NotInSelectionHierarchy
Draw the gizmo if ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2057e1b2219c | unity_docs | physics | Give me an overview of the `Collider` class in Unity. | Collider
class in
UnityEngine
/
Inherits from:
Component
/
Implemented in:
UnityEngine.PhysicsModule
Description
A base class of all colliders.
Additional resources:
BoxCollider
,
SphereCollider
,
CapsuleCollider
,
MeshCollider
,
PhysicsMaterial
,
Rigidbody
.
If the object with the Collider needs to be ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_24d4d6c14874 | unity_docs | scripting | Explain 'Invoke from the main menu' in Unity. | To create a custom menu item that invokes a search, use the MenuItem attribute. The following example creates a menu item that searches the
Asset Store
for free assets:
```csharp
[MenuItem("Search/Free Asset Gifts")]
static void SearchStore()
{
var storeContext = SearchService.CreateContext("store", "price=0");
var v... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_87b273995e7f | unity_docs | physics | What is `Sprite.GetPhysicsShapePointCount` in Unity? Explain its purpose and usage. | Sprite.GetPhysicsShapePointCount
Declaration
public int
GetPhysicsShapePointCount
(int
shapeIdx
);
Parameters
Parameter
Description
shapeIdx
The index of the physics shape to retrieve the number of points from.
Returns
int
Returns the number of points in the selected physics shape for the sprite.
De... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_c73651742ff4 | unity_docs | ui | What is `Overlays.DockZone` in Unity? Explain its purpose and usage. | DockZone
enumeration
Description
DockZone describes the area of the screen that an
Overlay
is displayed in.
Use
DockZone
in an
OverlayAttribute
to set the default location for an
Overlay
.
```csharp
using UnityEditor;
using UnityEditor.Overlays;
using UnityEngine;
using UnityEngine.UIElements;// Use Overla... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_17edbfff1ba1 | unity_docs | scripting | What is `Video.VideoClip.audioTrackCount` in Unity? Explain its purpose and usage. | VideoClip.audioTrackCount
public ushort
audioTrackCount
;
Description
Gets the number of audio tracks that are embedded in the video clip. (Read Only).
A video clip can contain multiple audio tracks. It can have separate audio tracks for different languages, commentary, accessibility, or to separate music, soun... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_fb052fdaeec5_doc_1 | github | scripting | What does `new` do in this Unity script? Explain its purpose and signature. | Convert all table data.
Signature:
```csharp
public static List<T> Convert<T>(string csvContent, char cellSeparator = CSVDataHelper.CommaCharacter, bool supportCellMultiline = true) where T : new()
``` | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_dd77601fc3da_doc_0 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Transform that will animate along the axis of interaction when this interactable is poked.Note: Must be a direct child GameObject as it moves in local space relative to the poke target's transform.
Signature:
```csharp
public Transform pokeFollowTransform
``` | You are a senior Unity engineer. Answer questions about Unity scripting, XR/VR development, and game systems with working code examples. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.