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_94e130838676 | unity_docs | rendering | What is `Shader.GetGlobalTexture` in Unity? Explain its purpose and usage. | Shader.GetGlobalTexture
Declaration
public static
Texture
GetGlobalTexture
(string
name
);
Declaration
public static
Texture
GetGlobalTexture
(int
nameID
);
Parameters
Parameter
Description
nameID
The name ID of the property retrieved by
Shader.PropertyToID
.
name
The name of the property.
Desc... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7ef9a0cbf19c | unity_docs | physics | What is `IMGUI.Controls.JointAngularLimitHandle.angleHandleSizeFunction` in Unity? Explain its purpose and usage. | JointAngularLimitHandle.angleHandleSizeFunction
public
Handles.SizeFunction
angleHandleSizeFunction
;
Description
The
SizeFunction
to specify how large the angle control handle should be.
Defaults to
ArcHandle.DefaultAngleHandleSizeFunction
for new instances of
JointAngularLimitHandle
. The angle handle ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_1d1d63b3f19b | unity_docs | math | What is `Pose.operator_eq` in Unity? Explain its purpose and usage. | Pose.operator ==
public static bool
operator ==
(
Pose
a
,
Pose
b
);
Description
Returns true if two poses are equal.
The equals operator returns true if two Poses are equivalent. Equivalent in this sense is determined by calling into the Equal operators of the internal Quaternion and Vector members of the... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_1bb7dc4c6ccd | unity_docs | rendering | What is `Rendering.ReflectionProbeBlendInfo` in Unity? Explain its purpose and usage. | ReflectionProbeBlendInfo
struct in
UnityEngine.Rendering
/
Implemented in:
UnityEngine.CoreModule
Description
ReflectionProbeBlendInfo contains information required for blending probes.
Additional resources:
Renderer.reflectionProbeUsage
.
Properties
Property
Description
probe
Reflection Probe used in blen... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_3f58778dac66 | unity_docs | scripting | What is `ParticleSystem.CustomDataModule.SetMode` in Unity? Explain its purpose and usage. | ParticleSystem.CustomDataModule.SetMode
Declaration
public void
SetMode
(
ParticleSystemCustomData
stream
,
ParticleSystemCustomDataMode
mode
);
Parameters
Parameter
Description
stream
The name of the custom data stream to enable data generation on.
mode
The type of data to generate.
Description
Cho... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_5eafc4f14cdc | unity_docs | rendering | In Unity's 'Single-pass instanced rendering and custom shaders', what is 'Update the vertex input attributes struct' and how does it work? | Add the UNITY_VERTEX_INPUT_INSTANCE_ID macro to the appdata struct.
Example:
```
struct appdata
{
float4 vertex : POSITION;
float2 uv : TEXCOORD0;
UNITY_VERTEX_INPUT_INSTANCE_ID //Insert
};
``` | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_7fc167d5d34d_doc_3 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Call before auto create instances,you can reset all 's makes them re-order or auto instantiate.Set this event in method.See also:,,
Signature:
```csharp
public static event Func<IEnumerable<TypeInfo>, IEnumerable<TypeInfo>> ResetTypeInfosCallback;
``` | You are an expert Unity game developer. Provide clear, accurate, and practical answers about Unity development. |
local_sr_1591870af8d4 | unity_docs | physics | What is `PhysicsVisualizationSettings.SetShowCollisionLayerMask` in Unity? Explain its purpose and usage. | PhysicsVisualizationSettings.SetShowCollisionLayerMask
Declaration
public static void
SetShowCollisionLayerMask
(int
mask
);
Description
Should the mask representing the layers be considered by the display filter.
Additional resources:
LayerMask
. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_badf952447c4 | unity_docs | physics | Show me a Unity C# example demonstrating `ShaderKeywordFilter.SelectIfAttribute`. | SelectIfAttribute
class in
UnityEditor.ShaderKeywordFilter
/
Inherits from:
ShaderKeywordFilter.FilterAttribute
Description
Include only the specified shader keywords in the build if the data field matches the condition.
If the data field under
SelectIf
matches the value of
condition
, Unity includes only
k... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_cb41e6cbab6b | unity_docs | scripting | What is `Unity.Android.Gradle.Manifest.Layout` in Unity? Explain its purpose and usage. | Layout
class in
Unity.Android.Gradle.Manifest
/
Inherits from:
Unity.Android.Gradle.Manifest.BaseElement
Description
The C# definition of the
<layout>
Android Manifest element.
For more information about the element, see Android's documentation:
Layout element
Properties
Property
Description
Attributes... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_f4b08b7f4c6e | unity_docs | ui | In Unity's 'Install a UPM package from a Git URL', what is 'Procedure' and how does it work? | To install a UPM package from a Git URL:
Open the
Package Manager window
, if it’s not already open.
Open the Add (
+
) menu in the Package Manager’s
toolbar
.
The options for installing packages appear.
Install package from git URL button Select Install package from git URL
from the install menu. A text box and an Ins... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ad8cd9ec6369 | unity_docs | physics | What is `Scripting.ManagedDebugger` in Unity? Explain its purpose and usage. | ManagedDebugger
class in
UnityEditor.Scripting
Description
Representation of managed debugger in UnityEditor.
Static Properties
Property
Description
isAttached
Returns true if there is a managed debugger attached to the UnityEditor, or false if there is not.
isEnabled
Returns true if managed debugger is enabl... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f1c0a4fc0b2b | unity_docs | input | What is `XR.InputFeatureUsage_1` in Unity? Explain its purpose and usage. | InputFeatureUsage<T0>
struct in
UnityEngine.XR
/
Implemented in:
UnityEngine.XRModule
Description
Defines a generic usage that maps to an input feature on a device.
Properties
Property
Description
name
The string name of this usage feature; used internally to map to an input feature on a device.
Constructor... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2ae1d9991035 | unity_docs | physics | What is `Rigidbody2D.AddForce` in Unity? Explain its purpose and usage. | Rigidbody2D.AddForce
Declaration
public void
AddForce
(
Vector2
force
,
ForceMode2D
mode
= ForceMode2D.Force);
Parameters
Parameter
Description
force
Components of the force in the X and Y axes.
mode
The method used to apply the specified force.
Description
Apply a force to the rigidbody.
The force... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_6f7b6ebcec43 | unity_docs | rendering | What is `LightTransport.PostProcessing.RadeonRaysProbePostProcessor` in Unity? Explain its purpose and usage. | RadeonRaysProbePostProcessor
class in
UnityEngine.LightTransport.PostProcessing
Implements interfaces:
IProbePostProcessor
Description
RadeonRaysProbePostProcessor is a post processor for light probes. It provides common operations for light probes encoded as
SphericalHarmonicsL2
. Operations include radiance to... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_4a3808d90881 | unity_docs | editor | What is `Search.PropertyDatabase.GetView` in Unity? Explain its purpose and usage. | PropertyDatabase.GetView
Declaration
public
Search.IPropertyDatabaseView
GetView
(bool
delayedSync
);
Parameters
Parameter
Description
delayedSync
Boolean indicating if the sync between views should only happen when the view is disposed, or for every operation.
Returns
IPropertyDatabaseView
The
Proper... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_26664fac45b7 | unity_docs | rendering | What are the parameters of `ParticleSystem.SetCustomParticleData` in Unity? | Description Set a stream of custom per-particle data. Note that if you enable the Custom Data module, it writes into the particle data buffer during the Particle System update. If you want to provide your own data using this function, disable the Custom Data module. However, if you want to modify the data that the Cust... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9343dd34361d | unity_docs | scripting | What is `Color32.ToString` in Unity? Explain its purpose and usage. | Color32.ToString
Declaration
public string
ToString
();
Declaration
public string
ToString
(string
format
);
Declaration
public string
ToString
(string
format
,
IFormatProvider
formatProvider
);
Parameters
Parameter
Description
format
A numeric format string.
formatProvider
An object that specifi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_55093f68d124 | unity_docs | rendering | What is `RenderTexture` in Unity? Explain its purpose and usage. | RenderTexture
class in
UnityEngine
/
Inherits from:
Texture
/
Implemented in:
UnityEngine.CoreModule
Description
Render textures are textures that can be rendered to.
They can be used to implement image based rendering effects, dynamic shadows,
projectors, reflections or surveillance cameras.
One typical usa... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_0d67f393197c | unity_docs | rendering | What is `UserAuthorization` in Unity? Explain its purpose and usage. | UserAuthorization
enumeration
Description
Use this enum to request permission from the user’s device for access to system features.
To request permission, pass this as a parameter to
Application.RequestUserAuthorization
.
Note
: The Microphone API is not available for the Web platform.
```csharp
// This script ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_160bc988a813 | unity_docs | scripting | What is `UIElements.SortColumnDescription.ctor` in Unity? Explain its purpose and usage. | SortColumnDescription Constructor
Declaration
public
SortColumnDescription
();
Description
Default constructor.
Declaration
public
SortColumnDescription
(int
columnIndex
,
UIElements.SortDirection
direction
);
Parameters
Parameter
Description
columnIndex
The column index for this sort description... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_e171a31bf0c6 | github | scripting | Write a Unity C# MonoBehaviour script called Result Process Installer | ```csharp
using UnityEngine;
using VContainer;
namespace AntiMonoBehaviour.Processes.Installers
{
[CreateAssetMenu(fileName = "ResultProcessInstaller",
menuName = "AntiMonoBehaviour/ResultProcessInstaller", order = 3)]
public class ResultProcessInstaller : ProcessInstallerBase<ResultProcess>, IResultP... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_62edc102b53b | unity_docs | scripting | What is `Search.SearchContext.AddSearchQueryErrors` in Unity? Explain its purpose and usage. | SearchContext.AddSearchQueryErrors
Declaration
public void
AddSearchQueryErrors
(IEnumerable<SearchQueryError>
errors
);
Parameters
Parameter
Description
errors
The new errors.
Description
Adds new query errors on this context. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_1b8124343d2d | unity_docs | rendering | Explain 'Post Processing' in Unity. | com.unity.postprocessing
## Description
The post-processing stack (v2) comes with a collection of effects and image filters you can apply to your cameras to improve the visuals of your games.
## Released for Unity
Package version 3.5.4 is released for Unity Editor version 6000.0. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2de0b15b8a4c | unity_docs | editor | What is `EditorWindow.focusedWindow` in Unity? Explain its purpose and usage. | EditorWindow.focusedWindow
public static
EditorWindow
focusedWindow
;
Description
The EditorWindow which currently has keyboard focus. (Read Only)
focusedWindow
can be null if no window has focus.
Additional resources:
mouseOverWindow
,
Focus
.
Focus other windows with a mouse click.
```csharp
using Unit... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_60ac7f0eb834 | unity_docs | scripting | Show me a Unity C# example demonstrating `MonoBehaviour.Reset`. | alled when you select
Reset
in the Inspector's context menu or when you add a component for the first time, either by dragging and dropping in the Inspector or by calling
GameObject.AddComponent
from an Editor script.
Reset is most commonly used to give good default values in the Inspector.
Note
:
Reset
is only c... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_4d5bfcfa4e57 | unity_docs | editor | Explain 'Get started' in Unity. | Understand the workflows to get started installing the Unity Editor, and creating your first project.
Topic Description Get started with Unity
Understand the core Unity workflows and Editor concepts.
Installation and licensing
Install the Unity Editor and activate and manage Unity licenses.
Unity for first-time users
L... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_75d5583087a7 | unity_docs | physics | What is `PhysicsScene2D.OverlapCapsule` in Unity? Explain its purpose and usage. | PhysicsScene2D.OverlapCapsule
Declaration
public
Collider2D
OverlapCapsule
(
Vector2
point
,
Vector2
size
,
CapsuleDirection2D
direction
,
float
angle
,
int
layerMask
= Physics2D.DefaultRaycastLayers);
Declaration
public
Collider2D
OverlapCapsule
(
Vector2
point
,
Vector2
size
,
CapsuleDirec... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_c3349ef6cdec | unity_docs | rendering | Explain 'Introduction to writing shaders in code' in Unity. | How you write custom shaders in Unity depends on the
render pipeline
you use:
For guidance and examples for the Built-in Render Pipeline, see
Example shaders for the Built-in Render Pipeline
.
For guidance and examples for the the Universal Render Pipeline (URP), see
URP: Writing custom shaders
.
It is not recommended ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_cb508bb9b3ea | unity_docs | rendering | What is `TextureImporterRGBMMode.Encoded` in Unity? Explain its purpose and usage. | TextureImporterRGBMMode.Encoded
Description
Source texture is already RGBM encoded in
TextureImporter
.
Use this setting on textures where the texture file already
contains RGBM-encoded data. This is useful to make editor
display proper texture previews.
Additional resources: TextureImporterSettings.rgbm. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_399e2eba7724 | unity_docs | scripting | What is `Build.Content.ObjectIdentifier.Equals` in Unity? Explain its purpose and usage. | ObjectIdentifier.Equals
Declaration
public bool
Equals
(object
obj
);
Parameters
Parameter
Description
obj
The object to check equality with.
Returns
bool
Returns true if all fields are equal.
Description
Returns true if the objects are equal.
Internal use only. See
ObjectIdentifier
. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_0eab0a575f6d | unity_docs | scripting | What is `EditorUserBuildSettings` in Unity? Explain its purpose and usage. | EditorUserBuildSettings
class in
UnityEditor
/
Inherits from:
Object
Description
User build settings for the Editor
Additional resources:
EditorBuildSettings
.
Static Properties
Property
Description
activeBuildTarget
The currently active build target.
activeScriptCompilationDefines
DEFINE directives for t... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_011ff71cb044 | unity_docs | rendering | In Unity's 'Using Web templates', what is 'Built-in templates' and how does it work? | By default, the
Web Template
setting has the following options:
Default
: A white page with a loading bar on a grey canvas.
Minimal
: A minimal Web template that includes the necessary boilerplate code to run the Web content.
PWA:
A
Progressive Web App
including a web manifest file and service worker code.
These built-... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_51fe11add27e | unity_docs | scripting | Explain 'Enter Play mode with scene reload disabled' in Unity. | Scene reload on entering Play mode is enabled by default. This means that when you enter Play mode, Unity destroys all existing scene GameObjects
and reloads the scene from disk. As your project gets more complex, the time between pressing the Play button and the scene fully loading in the Editor increases.
When you di... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f4f9ac28ac59 | unity_docs | scripting | What is `Search.SearchExpression.Check` in Unity? Explain its purpose and usage. | SearchExpression.Check
Declaration
public static bool
Check
(
Search.SearchExpression
e
,
Search.SearchExpressionContext
c
);
Parameters
Parameter
Description
e
SearchExpression to test.
c
Execute context of the expression.
Returns
bool
Returns true if the SearchExpression yields more than one item... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_8474700fc77b | unity_docs | rendering | Show me a Unity C# example demonstrating `GUI.depth`. | you have different scripts running simultaneously.
GUI elements drawn with lower depth values will appear on top of elements with higher values (ie, you can think of the depth as "distance" from the camera).
Note:
To see this example working, you will need to create 2
scripts. Remember to name the scripts with the same... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_0f04cb2c9267 | unity_docs | scripting | What is `GraphicsBuffer.Target.CopySource` in Unity? Explain its purpose and usage. | GraphicsBuffer.Target.CopySource
Description
GraphicsBuffer can be used as a source for CopyBuffer.
The source buffer for
Graphics.CopyBuffer
or
CommandBuffer.CopyBuffer
must have
CopySource
target set.
This target is most often combined with other target flags.
```csharp
using UnityEngine;public class Examp... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_8a25ae7b4b32 | unity_docs | scripting | What is `Unity.Android.Gradle.Dependencies.AddDependencyImplementationGroup` in Unity? Explain its purpose and usage. | Dependencies.AddDependencyImplementationGroup
Declaration
public
Unity.Android.Gradle.Element
AddDependencyImplementationGroup
(string
nameSpace
,
string
name
,
string
version
);
Parameters
Parameter
Description
nameSpace
Library dependency namespace.
name
Library dependency name.
version
Library dep... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_a632a0cb215f | unity_docs | scripting | What is `Profiling.HierarchyFrameDataView.GetItemMetadataCount` in Unity? Explain its purpose and usage. | HierarchyFrameDataView.GetItemMetadataCount
Declaration
public int
GetItemMetadataCount
(int
id
);
Parameters
Parameter
Description
id
Hierarchy item identifier.
Returns
int
Metadata count.
Description
Returns metadata count associated with hierarchy item.
Additional resources:
HierarchyFrameDataVi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_fb0655bdd822 | unity_docs | scripting | What is `ShortcutManagement.IShortcutManager.RebindShortcut` in Unity? Explain its purpose and usage. | IShortcutManager.RebindShortcut
Declaration
public void
RebindShortcut
(string
shortcutId
,
ShortcutManagement.ShortcutBinding
binding
);
Parameters
Parameter
Description
shortcutId
ID of shortcut to rebind.
binding
New binding of shortcut.
Description
Rebinds the shortcut for the given shortcut ID to... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_0ad84be47929 | unity_docs | performance | Show me a Unity C# example demonstrating `Unity.Profiling.Memory.MemorySnapshotMetadata.Description`. | MemorySnapshotMetadata.Description
public string
Description
;
Description
User defined metadata that provides a description for the memory snapshot.
This propery provides a free form text input method to extend the memory snapshot with extra information such as the context in which the snapshot was taken.
```... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_974d1a117c91 | unity_docs | physics | What is `LowLevelPhysics.ImmediatePhysics` in Unity? Explain its purpose and usage. | ImmediatePhysics
class in
UnityEngine.LowLevelPhysics
/
Implemented in:
UnityEngine.PhysicsModule
Description
This class contains methods to run the immediate simulation steps.
Static Methods
Method
Description
GenerateContacts
Generates the contact points for all the given pairs of shapes. Stores the result... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_5417001e3487 | unity_docs | rendering | Show me a Unity C# example demonstrating `LineRenderer.loop`. | LineRenderer.loop
public bool
loop
;
Description
Connect the start and end positions of the line together to form a continuous loop.
```csharp
using UnityEngine;
using System.Collections;[RequireComponent(typeof(LineRenderer))]
public class ExampleClass : MonoBehaviour
{
private LineRenderer lr; void Start()
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_5102fdcab943 | unity_docs | editor | Show me a Unity C# example demonstrating `EditorGUI.hyperLinkClicked`. | orGUI.hyperLinkClicked
Parameters
Parameter
Description
value
The first parameter of type
EditorWindow
corresponds to the window that contains the text that was clicked. The second parameter of type
HyperLinkClickedEventArgs
contains the hyperlink data.
Description
Event used to react on clicks on a text hy... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e04fbf2b3dbc | unity_docs | editor | What is `Build.Player.PlayerBuildInterface` in Unity? Explain its purpose and usage. | PlayerBuildInterface
class in
UnityEditor.Build.Player
Description
Low level interface for building scripts for Unity.
Note: this class and its members exist to provide low-level support for the
Scriptable Build Pipeline
package. This is intended for internal use only; use the
Scriptable Build Pipeline package... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b0f4c1796fb2 | unity_docs | scripting | Give me an overview of the `iOSAppInBackgroundBehavior` class in Unity. | iOSAppInBackgroundBehavior
enumeration
Description
Application behavior when entering background.
Properties
Property
Description
Custom
Custom background behavior, see iOSBackgroundMode for specific background modes.
Suspend
Application should suspend execution when entering background. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_4450caff1043 | unity_docs | rendering | What is `AdditionalCanvasShaderChannels` in Unity? Explain its purpose and usage. | AdditionalCanvasShaderChannels
enumeration
Description
Enum mask of possible shader channel properties that can also be included when the
Canvas
mesh is created.
Properties
Property
Description
None
No additional shader parameters are needed.
TexCoord1
Include UV1 on the mesh vertices.
TexCoord2
Include UV2... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_944fe14ea9c3 | unity_docs | rendering | Explain 'Introduction to textures' in Unity. | Normally, the mesh geometry of an object only gives a rough approximation of the shape while most of the fine detail is supplied by
Textures
. A texture is just a standard bitmap image that is applied over the mesh surface. You can think of a texture image as though it were printed on a rubber sheet that is stretched a... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f81a9c82bf59 | unity_docs | scripting | What is `JointDrive.positionDamper` in Unity? Explain its purpose and usage. | JointDrive.positionDamper
public float
positionDamper
;
Description
Resistance strength against the Position Spring. Only used if
mode
includes Position.
```csharp
using UnityEngine;public class Example : MonoBehaviour
{
// Create a JointDrive, configure it and assign the JointDrive to
// the zDrive element... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7287c5d260e6 | unity_docs | rendering | What is `Rendering.CommandBuffer.SetRayTracingConstantBufferParam` in Unity? Explain its purpose and usage. | CommandBuffer.SetRayTracingConstantBufferParam
Declaration
public void
SetRayTracingConstantBufferParam
(
Rendering.RayTracingShader
rayTracingShader
,
int
nameID
,
ComputeBuffer
buffer
,
int
offset
,
int
size
);
Declaration
public void
SetRayTracingConstantBufferParam
(
Rendering.RayTracingShader
rayT... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f70eca63a23f | unity_docs | physics | What is `Toolbars.EditorToolbarDropdown.ctor` in Unity? Explain its purpose and usage. | EditorToolbarDropdown Constructor
Declaration
public
EditorToolbarDropdown
();
Declaration
public
EditorToolbarDropdown
(
Unity.Android.Gradle.Manifest.Action
clickEvent
);
Declaration
public
EditorToolbarDropdown
(string
text
,
Unity.Android.Gradle.Manifest.Action
clickEvent
);
Declaration
public
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_efff68057ab4 | unity_docs | rendering | What is `Rendering.RayTracingInstanceCullingFlags.EnableSphereCulling` in Unity? Explain its purpose and usage. | RayTracingInstanceCullingFlags.EnableSphereCulling
Description
Causes
RayTracingAccelerationStructure.CullInstances
to perform sphere culling.
The sphere is defined by
RayTracingInstanceCullingConfig.sphereCenter
and
RayTracingInstanceCullingConfig.sphereRadius
values.
A Renderer in the Scene is accepted to t... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_a2d6368445e4 | unity_docs | editor | Explain 'Use C# code to enable optimization settings' in Unity. | You can use code to enable some optimizations recommended in
Optimize your Web build
. If you use code to configure these settings it can save you time having to manually set each of them individually.
Note
: This script only works in the Unity Editor, not in builds.
## Create a C# script to optimize your Web build
T... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_144b11c745d4 | unity_docs | rendering | What is `Rendering.PassType.Meta` in Unity? Explain its purpose and usage. | PassType.Meta
Description
Shader pass used to generate the albedo and emissive values used as input to lightmapping.
Baked and Enlighten Realtime Global Illumination use this pass to get information about the shader emission and albedo properties.
Surface shaders generate this pass automatically, in a similar way t... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_14ae633bfad9 | unity_docs | performance | What is `Jobs.TransformAccessArray.RemoveAtSwapBack` in Unity? Explain its purpose and usage. | TransformAccessArray.RemoveAtSwapBack
Declaration
public void
RemoveAtSwapBack
(int
index
);
Parameters
Parameter
Description
index
Index.
Description
Removes an item at index.
Swaps the transform at index with the last transform in the array and makes the array length one item shorter. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_63bbdb73da55 | unity_docs | editor | Show me a Unity C# example demonstrating `Search.SearchIndexer.IsReady`. | SearchIndexer.IsReady
Declaration
public bool
IsReady
();
Returns
bool
Returns true if the index is ready for search.
Description
Indicates if the index is fully built, up to date, and ready for search.
```csharp
using System.Linq;
using UnityEditor;
using UnityEditor.Search;
using UnityEngine;
static cl... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ee509f922042 | unity_docs | scripting | What are the parameters of `AssetPostprocessor.OnPostprocessGameObjectWithAnimatedUserProperties` in Unity? | Description Called when the animation curves for a custom property of type float are finished importing. Called for every GameObject with an animated custom property of type float . Each animated property has an animation curve that is represented by an EditorCurveBinding . This lets you dynamically add components to a... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_5893dad9a278 | unity_docs | math | What is `TerrainData.OverrideMinMaxPatchHeights` in Unity? Explain its purpose and usage. | TerrainData.OverrideMinMaxPatchHeights
Declaration
public void
OverrideMinMaxPatchHeights
(PatchExtents[]
minMaxHeights
);
Parameters
Parameter
Description
minMaxHeights
Array of minimum and maximum terrain patch height values.
Description
Override the minimum and maximum patch heights for every renderable... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_133fa67080bb | unity_docs | scripting | What is `Unity.Properties.PropertyContainer.TryAccept` in Unity? Explain its purpose and usage. | PropertyContainer.TryAccept
Declaration
public static bool
TryAccept
(
Unity.Properties.IPropertyBagVisitor
visitor
,
ref TContainer
container
,
Unity.Properties.VisitParameters
parameters
);
Parameters
Parameter
Description
visitor
The visitor.
container
The container to visit.
parameters
The visit... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ff69598c22ec | unity_docs | physics | Show me a Unity C# example demonstrating `PhysicsShapeGroup2D.GetShapeVertex`. | f vertex specified by
PhysicsShape2D.vertexCount
.
NOTE
: When accessing multiple vertices, it is more efficient to do one of the following:
Get all the shape vertices using
GetShapeVertices
Get all the shape group vertices using
GetShapeData
Create the
PhysicsShapeGroup2D
with explicit shapes and vertices lis... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_d6fc165e94ef | unity_docs | editor | What is `EditorJsonUtility` in Unity? Explain its purpose and usage. | EditorJsonUtility
class in
UnityEditor
Description
Utility functions for working with JSON data and engine objects.
Additional resources:
JsonUtility
Static Methods
Method
Description
FromJsonOverwrite
Overwrite data in an object by reading from its JSON representation.
ToJson
Generate a JSON representation... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_c5002c317b95 | unity_docs | rendering | Show me a Unity C# example demonstrating `Experimental.Rendering.DefaultFormat`. | DefaultFormat
enumeration
Description
Use a default format to create either Textures or RenderTextures from scripts based on platform specific capability.
```csharp
using UnityEngine;
using UnityEngine.Experimental.Rendering;
using System.Collections;public class ExampleClass : MonoBehaviour
{
void Start()
{
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_5d7fbfd74657 | unity_docs | scripting | What is `Unity.Properties.IPropertyBag` in Unity? Explain its purpose and usage. | IPropertyBag
interface in
Unity.Properties
Description
Base untyped interface for implementing property bags.
Public Methods
Method
Description
Accept
Call this method to invoke ITypeVisitor.Visit_1 with the strongly typed container type. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_6eace3ef0fdd | unity_docs | editor | Explain 'Embedded Linux' in Unity. | Embedded Linux is a compact version of Linux designed to use for embedded devices and appliances. It provides features and services that support building applications suited for embedded systems. Use this section to familiarize yourself with setting up the Unity Editor for Embedded Linux. For information on distributio... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ab27533bc0ca | unity_docs | math | What is `Rect.NormalizedToPoint` in Unity? Explain its purpose and usage. | Rect.NormalizedToPoint
Declaration
public static
Vector2
NormalizedToPoint
(
Rect
rectangle
,
Vector2
normalizedRectCoordinates
);
Parameters
Parameter
Description
rectangle
Rectangle to get a point inside.
normalizedRectCoordinates
Normalized coordinates to get a point for.
Description
Returns a p... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f5338100c7ad | unity_docs | editor | What is `Build.Content.ExternalFileReference.type` in Unity? Explain its purpose and usage. | ExternalFileReference.type
public int
type
;
Description
The lookup resolution index for the GUID field in the editor. This is used in conjunction with the GUID internally and should not be modified. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_604d7e0c1436 | unity_docs | scripting | What is `UIElements.ScrollView.verticalScroller` in Unity? Explain its purpose and usage. | ScrollView.verticalScroller
public
UIElements.Scroller
verticalScroller
;
Description
Gets the vertical scrollbar for the scroll view.
The
verticalScroller
property provides access to the vertical scrollbar of the
ScrollView
.
You can use it to control or monitor vertical scrolling, such as setting th... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9dea44d1b42e | unity_docs | scripting | What is `Progress.GetEndDateTime` in Unity? Explain its purpose and usage. | Progress.GetEndDateTime
Declaration
public static long
GetEndDateTime
(int
id
);
Parameters
Parameter
Description
id
The progress indicator's unique ID.
Returns
long
The progress indicator's end timestamp.
Description
Gets the timestamp of when the progress indicator ended. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ee7c232a5140 | unity_docs | math | What is `Gizmos.DrawFrustum` in Unity? Explain its purpose and usage. | Gizmos.DrawFrustum
Declaration
public static void
DrawFrustum
(
Vector3
center
,
float
fov
,
float
maxRange
,
float
minRange
,
float
aspect
);
Parameters
Parameter
Description
center
The apex of the truncated pyramid.
fov
Vertical field of view (ie, the angle at the apex in degrees).
maxRange
Distan... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ef3519ab08f1 | unity_docs | editor | Show me a Unity C# example demonstrating `Search.IQueryEngineFilter.metaInfo`. | ic IReadOnlyDictionary<string,string>
metaInfo
;
Description
Additional information specific to the filter.
You can add and remove any additional information on a filter at any given time. This information is not used by the
QueryEngine
and does not affect the filtering in any way. Use to provide a way to store... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_bf626d7ce950 | unity_docs | rendering | Show me a Unity C# example demonstrating `LightTransport.RadeonRaysContext.DestroyBuffer`. | RadeonRaysContext.DestroyBuffer
Declaration
public void
DestroyBuffer
(
LightTransport.BufferID
id
);
Parameters
Parameter
Description
id
ID of the buffer to destroy.
Description
Destroy the buffer with the given ID.
```csharp
using UnityEngine.LightTransport;IDeviceContext ctx = new RadeonRaysContext();... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_59c9e7bc6b88 | unity_docs | animation | What are the parameters of `Animations.AnimatorController.parameters` in Unity? | It's important to note that the AnimatorControllerParameters are returned as a copy. The array should be set back into the property when changed. ```csharp
using UnityEngine;
using UnityEditor;class ControllerModifier
{
UnityEditor.Animations.AnimatorController controller; public void ModifyParameters(int parame... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_5889dae52d9f | unity_docs | rendering | What is `TransparencySortMode.CustomAxis` in Unity? Explain its purpose and usage. | TransparencySortMode.CustomAxis
Description
Sort objects based on distance along a custom axis.
Transparent objects are sorted based on distance along a custom axis. For example, you could specify this mode and the axis to be (0.0f, 1.0f, 0.0f). This will effectively make renderers sorted to the back as they go up ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f52f6c451d12 | unity_docs | scripting | What is `ObjectChangeEventStream.GetCreateGameObjectHierarchyEvent` in Unity? Explain its purpose and usage. | ObjectChangeEventStream.GetCreateGameObjectHierarchyEvent
Declaration
public void
GetCreateGameObjectHierarchyEvent
(int
eventIdx
,
out
CreateGameObjectHierarchyEventArgs
data
);
Parameters
Parameter
Description
eventIdx
The index of the event to get the data for.
data
The data associated with the event... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_d4c3d777a4ed | unity_docs | rendering | What are the parameters of `AssetDatabase.WriteImportSettingsIfDirty` in Unity? | Returns bool Returns true if the operation was successful. Description Writes the import settings to disk. This method writes unsaved settings to disk, which results in the reimport of any assets that depend on these settings. ```csharp
using UnityEngine;
using UnityEditor;
public class AssetDatabaseExamples : MonoBeha... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_83980b5de48b | github | scripting | Write a Unity C# script called Character Asset | ```csharp
using System;
using UnityEngine;
[CreateAssetMenu(menuName = MENU_PATH + MENU_NAME, fileName = FILE_NAME)]
class CharacterAsset : DataAsset
{
public const string MENU_PATH = "Character/";
public const string MENU_NAME = "Character Asset";
public const string FILE_NAME = "Character Asset";
p... | You are a senior Unity engineer. Answer questions about Unity scripting, XR/VR development, and game systems with working code examples. |
gh_8e75221689b5 | github | scripting | Write a Unity C# MonoBehaviour script called Event Count Output | ```csharp
using System;
using UnityEngine;
namespace LeakyAbstraction.ReactiveScriptables
{
public class EventCountOutput : SubscriptionHelperMonoBehaviour
{
[SerializeField]
private GameEvent _gameEvent = default;
[SerializeField]
private IntProperty_Writeable _countOutput = ... | You are an expert Unity game developer. Provide clear, accurate, and practical answers about Unity development. |
local_man_fa1d7b39feea | unity_docs | physics | Explain 'Fixed Joint component reference' in Unity. | Fixed Joints restricts an object so that its movement is dependent upon another object’s movement. This is similar to Parenting , but is implemented through physics rather than the Transform hierarchy. They are useful if you want to connect two objects’ movement without parenting, or if you have objects that you want t... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ff6bf6c5aa42 | unity_docs | scripting | What is `StaticOcclusionCulling.Cancel` in Unity? Explain its purpose and usage. | StaticOcclusionCulling.Cancel
Declaration
public static void
Cancel
();
Description
Used to cancel asynchronous generation of static occlusion culling data.
Additional resources:
StaticOcclusionCulling.GenerateInBackground
,
isRunning
. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_2cd68c4fe4ed | github | scripting | Write a Unity C# XR/VR script for AR Tracked Image Manager Info | ```csharp
using TMPro;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
[RequireComponent(typeof(ARTrackedImageManager))]
public class ARTrackedImageManagerInfo : MonoBehaviour
{
[SerializeField]
private GameObject[] objectsToInstantiate;
[SerializeField]
private bool allowRemovalUponLimitedTrack... | You are a senior Unity engineer. Answer questions about Unity scripting, XR/VR development, and game systems with working code examples. |
local_man_7c597bc12c9d | unity_docs | rendering | In Unity's 'Lighting Mode', what is 'Where Unity stores lighting data' and how does it work? | Unity stores baked indirect lighting in the following places:
Light Probes
store indirect lighting of dynamic GameObjects.
Lightmap
textures store indirect lighting of static GameObjects. In Subtractive mode, lightmap textures also store direct lighting.
Unity stores shadows in the following places:
Shadowmap textures
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_879f13387dae | unity_docs | rendering | In Unity's 'Create a Movie Texture', what is 'Movie Audio' and how does it work? | When you import a Movie Texture, Unity also imports the accompanying audio track. This audio appears as an AudioClip child of the Movie Texture.
To play this audio, the
Audio Clip
must be attached to a GameObject. Drag the Audio Clip from the Project View onto any GameObject in the Scene or Hierarchy View. Usually, thi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_6cfcbbe9bd3d | unity_docs | scripting | What is `AssetImporters.AssetImportContext.LogImportWarning` in Unity? Explain its purpose and usage. | AssetImportContext.LogImportWarning
Declaration
public void
LogImportWarning
(string
msg
,
Object
obj
);
Parameters
Parameter
Description
msg
The warning message.
obj
Optional Object that is targeted by the warning.
Description
Logs a warning message encountered during import.
Use this method to warn... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_8c85f9117a0a | unity_docs | math | Show me a Unity C# example demonstrating `Mathf.Min`. | Mathf.Min
Declaration
public static float
Min
(float
a
,
float
b
);
Declaration
public static float
Min
(params float[]
values
);
Description
Returns the smallest of two or more values.
```csharp
using UnityEngine;public class ScriptExample : MonoBehaviour
{
void Start()
{
// Prints 0
Debug.Log(Math... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_0cdec2047e79 | unity_docs | scripting | What is `GUISkin.textArea` in Unity? Explain its purpose and usage. | GUISkin.textArea
public
GUIStyle
textArea
;
Description
Style used by default for
GUI.TextArea
controls.
```csharp
using UnityEngine;public class Example : MonoBehaviour
{
// Modifies only the textArea style of the current GUISkin GUIStyle style;
string str = "A string...\nWith two lines."; void OnGUI()
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_44df1b144c30 | unity_docs | physics | What is `Collider2D.compositeOperation` in Unity? Explain its purpose and usage. | Collider2D.compositeOperation
public
Collider2D.CompositeOperation
compositeOperation
;
Description
The composite operation to be used by a
CompositeCollider2D
.
A
CompositeCollider2D
is used when the composite operation is anything other than
Collider2D.CompositeOperation.None
.
When a
CompositeCollider... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7e362e900859 | unity_docs | scripting | What is `Search.SearchUtils.SplitEntryComponents` in Unity? Explain its purpose and usage. | SearchUtils.SplitEntryComponents
Declaration
public static IEnumerable<string>
SplitEntryComponents
(string
entry
,
char[]
entrySeparators
);
Parameters
Parameter
Description
entry
Entry to split.
entrySeparators
List of separators that indicate split points.
Returns
IEnumerable<string>
Returns list o... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_c1d569115ad5 | unity_docs | ui | What is `GUIStyle.lineHeight` in Unity? Explain its purpose and usage. | GUIStyle.lineHeight
public float
lineHeight
;
Description
The height of one line of text with this style, measured in pixels. (Read Only)
```csharp
using UnityEngine;public class Example : MonoBehaviour
{
// Prints the lineHeight value. void OnGUI()
{
Debug.Log(GUI.skin.button.lineHeight);
}
}
``` | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_ac4475661729_doc_3 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Represents an object which can be initialized using three arguments.-derived classes that implement this interface can be instantiated with arguments using the function.-derived classes that implement this interface can be added to a with arguments using the GameObject.AddComponent function.These functions can automati... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_83cf357f68c7 | unity_docs | rendering | Explain 'Search GameObjects with the Hierarchy search provider' in Unity. | The Hierarchy search provider searches all
loaded scenes
, including inactive ones.
The search uses progressive caching, not an index, so you can use it even if your project has no indices.
## Query syntax
Provider token:
h:
(for Hierarchy )
## Query examples
Query example Description h: camera
Find all GameObjects... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2ae49b1f4b53 | unity_docs | scripting | What is `XR.XRInputSubsystem.boundaryChanged` in Unity? Explain its purpose and usage. | XRInputSubsystem.boundaryChanged
Parameters
Parameter
Description
value
Unity calls this delegate when the tracking boundary changes.
Description
An event that takes the delegate instance that the
XRInputSubsystem
calls when it changes its tracking boundary.
See XRInputSubsystem.GetBoundaryPoints to get the ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_be702e79bb6e | unity_docs | scripting | In Unity's 'Callback from native code', what is 'Use UnitySendMessage' and how does it work? | UnitySendMessage
looks like this:
UnitySendMessage("GameObjectName1", "MethodName1", "Message to send");
There are three parameters:
The name of the target GameObject
The script method to call on that object
The message string to pass to the called method UnitySendMessage has the following limitations:
From native code... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_973e3111f0a9 | unity_docs | input | What is `UIElements.Experimental.PointerOverLinkTagEvent` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
PointerOverLinkTagEvent
class in
UnityEngine.UIElements.Experimental
/
Inherits from:
UIElements.PointerEventBase_1
/
Implemented in:
UnityEngine.UIElementsModule
Description
This event is sent when a pointer enters a link... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b1a237de5291 | unity_docs | audio | Show me a Unity C# example demonstrating `Collision2D.relativeVelocity`. | Collision2D.relativeVelocity
public
Vector2
relativeVelocity
;
Description
The relative linear velocity of the two colliding objects (Read Only).
```csharp
// Play a sound when we hit an object with a big velocity
using UnityEngine;
using System.Collections;public class ExampleClass : MonoBehaviour
{
AudioSo... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_f7af6619f7ca | unity_docs | editor | Explain 'Debug C# code in Unity' in Unity. | You can use a debugger to inspect your source code while your application is running. Unity supports the following code editors to debug C# code:
Visual Studio (with the
Visual Studio Tools for Unity
plug-in)
Visual Studio Code (with the
Unity for Visual Studio Code Extension
)
Jetbrains Rider
Although these code edito... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_8b48ed40d90a | unity_docs | xr | What is `Rendering.GraphicsSettings.allConfiguredRenderPipelines` in Unity? Explain its purpose and usage. | GraphicsSettings.allConfiguredRenderPipelines
public static RenderPipelineAsset[]
allConfiguredRenderPipelines
;
Description
An array containing the
RenderPipelineAsset
instances that describe the default render pipeline and any quality level overrides.
The default render pipeline is defined in
GraphicsSetti... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_fc08dcac4bc7 | unity_docs | rendering | What is `ParticleSystem.ShapeModule.spriteRenderer` in Unity? Explain its purpose and usage. | ParticleSystem.ShapeModule.spriteRenderer
public
SpriteRenderer
spriteRenderer
;
Description
SpriteRenderer to emit particles from.
Additional resources:
ParticleSystem.ShapeModule.shapeType
. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_38d158581a75 | unity_docs | scripting | What is `Apple.FrameCapture.CaptureNextFrameToXcode` in Unity? Explain its purpose and usage. | FrameCapture.CaptureNextFrameToXcode
Declaration
public static void
CaptureNextFrameToXcode
();
Description
Begin capture to Xcode at the beginning of the next frame, and end it at the end of the next frame.
This is the same as calling
FrameCapture.BeginCaptureToXcode
and
FrameCapture.EndCapture
, but with i... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_87e87a4aed94 | unity_docs | editor | What are the parameters of `AssetDatabase.importPackageCompleted` in Unity? | Description Callback raised whenever a package import successfully completes. ```csharp
using UnityEditor;
using UnityEngine;[InitializeOnLoad]
public class AssetDatabaseExamples
{
static AssetDatabaseExamples()
{
AssetDatabase.importPackageStarted += OnImportPackageStarted;
AssetDatabase.import... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7febcdce256a | unity_docs | scripting | What is `Accessibility.AssistiveSupport.isScreenReaderEnabled` in Unity? Explain its purpose and usage. | AssistiveSupport.isScreenReaderEnabled
public static bool
isScreenReaderEnabled
;
Description
Whether the screen reader is enabled on the operating system.
For all the supported platforms, refer to
AssistiveSupport
. | 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.