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_fdb6de6ee5bf | unity_docs | scripting | What is `Selection.gameObjects` in Unity? Explain its purpose and usage. | Selection.gameObjects
public static GameObject[]
gameObjects
;
Description
Returns the actual game object selection. Includes Prefabs, non-modifiable objects.
When working with objects that are primarily in a Scene, it is strongly recommended to use
Selection.transforms
instead. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_1b171606090f | unity_docs | scripting | Show me a Unity C# example demonstrating `WaitForSecondsRealtime.ctor`. | WaitForSecondsRealtime Constructor
Declaration
public
WaitForSecondsRealtime
(float
time
);
Description
Creates a yield instruction to wait for a given number of seconds using unscaled time.
```csharp
using UnityEngine;
using System.Collections;public class WaitForSecondsExample : MonoBehaviour
{
void Start()... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_69cc8b203190 | unity_docs | rendering | What is `ParticleSystemNoiseQuality` in Unity? Explain its purpose and usage. | ParticleSystemNoiseQuality
enumeration
Description
The quality of the generated noise.
Properties
Property
Description
Low
Low quality 1D noise.
Medium
Medium quality 2D noise.
High
High quality 3D noise. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_309111157810 | unity_docs | editor | Show me a Unity C# example demonstrating `Presets.Preset.GetAllDefaultTypes`. | Preset.GetAllDefaultTypes
Declaration
public static PresetType[]
GetAllDefaultTypes
();
Description
Returns all the
PresetType
that have at least one
DefaultPreset
entry in the default Presets list.
Use this method to gather all existing
DefaultPreset
and all
Preset
used as default in a project.
```csh... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_eb784f9db334 | unity_docs | rendering | What is `TextureImporter.androidETC2FallbackOverride` in Unity? Explain its purpose and usage. | TextureImporter.androidETC2FallbackOverride
public
AndroidETC2FallbackOverride
androidETC2FallbackOverride
;
Description
ETC2 texture decompression fallback override on Android devices that don't support ETC2.
Allows to choose which texture format to decompress the texture to on Android devices that have no ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_dabe57e0bb3b | unity_docs | math | What is `Android.AndroidAssetPacks.CancelAssetPackDownload` in Unity? Explain its purpose and usage. | AndroidAssetPacks.CancelAssetPackDownload
Declaration
public static void
CancelAssetPackDownload
(string[]
assetPackNames
);
Parameters
Parameter
Description
assetPackNames
The array of names of the Android asset packs to cancel the download for.
Description
Cancels Android asset pack downloads.
This meth... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_260fca322f56 | unity_docs | rendering | Explain 'Create cookies in the Built-In Render Pipeline' in Unity. | The most convenient way to create a cookie for use with the Built-in
Render Pipeline
is to create a grayscale texture, import that texture to Unity, and then let Unity convert the texture’s brightness to alpha.
Note that in the Built-in Render Pipeline, cookies only use data from the alpha channel. This means that you ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b6efb0d9df87 | unity_docs | rendering | Show me a Unity C# example demonstrating `GUI.DrawTexture`. | age (enabled by default).
imageAspect
Aspect ratio to use for the source image. If 0 (the default), the aspect ratio from the image is used. Pass in w/h for the desired aspect ratio. This allows the aspect ratio of the source image to be adjusted without changing the pixel width and height.
Description
Draw a textu... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_294596646145 | unity_docs | editor | Show me a Unity C# example demonstrating `PlayerSettings.Android.resizeableActivity`. | ableActivity
;
Description
Indicates whether your Android application is resizable.
By default the Android application is resizable. Disable this option to make the application non-resizable.
Note:
If you enable this option, your application will continue to run when it loses focus but is visible on screen. If th... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_982c85173185_doc_3 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Called if the player completed a quick tap motion. The argument is the screen position.
Signature:
```csharp
public event Action<Vector2> onTap;
``` | You are an experienced Unity developer specializing in C# scripting, XR/VR development, and performance optimization. |
local_sr_bddff8dbee4a | unity_docs | rendering | What is `NormalMapEncoding.XYZ` in Unity? Explain its purpose and usage. | NormalMapEncoding.XYZ
Description
Three-component normal map encoding.
This is the default normal map encoding on mobile platforms.
Compared to
NormalMapEncoding.DXT5nm
, the normal maps are of lower quality, but are less computationally expensive to decode in shaders. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_67265bf02c3e | unity_docs | editor | In Unity's 'Enable Unity Editor installation by standard users (Windows)', what is 'Important considerations for third-party requirements' and how does it work? | Once enabled, this feature can reduce the administrators’ involvement to installing only the following items:
Any optional components, such as Visual Studio Code or platform-specific build support.
Any
missing dependencies
the Unity installer detects, such as Visual C++ runtime libraries. These dependencies change infr... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_88b6baabecfb | unity_docs | physics | What is `WheelCollider.GetGroundHit` in Unity? Explain its purpose and usage. | WheelCollider.GetGroundHit
Declaration
public bool
GetGroundHit
(out
WheelHit
hit
);
Description
Gets ground collision data for the wheel.
If the wheel collides with something, returns
true
and fills the
hit
structure. If the wheel
is not colliding, returns
false
and leaves
hit
structure unchanged.
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_d1aa752fc025 | unity_docs | performance | Explain 'Configure vertex compression' in Unity. | To use the Vertex Compression setting, you must first prepare the mesh , then apply compression in the project’s optimization settings.
## Prepare the mesh for vertex compression
The mesh must meet the following requirements to use vertex compression:
The mesh must have its
Read/Write Enabled
property disabled. You c... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_869534e86552 | unity_docs | rendering | What is `ParticleSystem.customData` in Unity? Explain its purpose and usage. | ParticleSystem.customData
public
ParticleSystem.CustomDataModule
customData
;
Description
Script interface for the CustomDataModule of a Particle System.
Once configured, this module will generate custom per-particle data, which you can use either in script or shaders.
To read the data from script, simply ca... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_a82551169d35 | unity_docs | editor | What is `EditorUtility.IsRunningUnderCPUEmulation` in Unity? Explain its purpose and usage. | EditorUtility.IsRunningUnderCPUEmulation
Declaration
public static bool
IsRunningUnderCPUEmulation
();
Description
Gets a boolean value. This value indicates whether your CPU is unable to execute Unity natively and is running an emulated version.
This property returns true if your computer is running Unity via ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_3b46123b96b2 | unity_docs | scripting | What is `Media.MediaRational.isNegative` in Unity? Explain its purpose and usage. | MediaRational.isNegative
public bool
isNegative
;
Description
Whether the rational number is negative.
A rational is considered negative when it is valid (see
isValid
) and strictly less than zero. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_1a50774f69fc | unity_docs | editor | Explain 'Create a mesh' in Unity. | You can add meshes to a Unity project in the following ways:
Create a mesh as part of a model in a 3D modeling program, then import it. Unity creates a mesh asset as a part of the model hierarchy when you import a model. For more information, see
Importing Models
.
Create a mesh directly with in-Editor tools. Unity has... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_36e4a3d9e19b | github | scripting | Write a Unity C# script called Event Canvas Provider | ```csharp
// "Wave SDK
// © 2020 HTC Corporation. All Rights Reserved.
//
// Unless otherwise required by copyright law and practice,
// upon the execution of HTC SDK license agreement,
// HTC grants you access to and use of the Wave SDK(s).
// You shall fully comply with all of HTC’s SDK license agreement terms and
/... | You are an expert Unity game developer. Provide clear, accurate, and practical answers about Unity development. |
local_sr_e6bf3d38a422 | unity_docs | scripting | What is `RenderSettings.fogEndDistance` in Unity? Explain its purpose and usage. | RenderSettings.fogEndDistance
public static float
fogEndDistance
;
Description
The ending distance of linear fog.
Fog start and end distances are used by
Linear
fog mode.
Additional resources:
RenderSettings.fogStartDistance
,
RenderSettings.fogMode
. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2fff33655c96 | unity_docs | scripting | What is `Animations.RotationConstraint` in Unity? Explain its purpose and usage. | RotationConstraint
class in
UnityEngine.Animations
/
Inherits from:
Behaviour
/
Implemented in:
UnityEngine.AnimationModule
Implements interfaces:
IConstraint
Description
Constrains the rotation of an object relative to the rotation of one or more source objects.
Properties
Property
Description
constraint... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_c3b117d94981 | unity_docs | editor | Show me a Unity C# example demonstrating `Build.Profile.BuildProfile.GetActiveBuildProfile`. | BuildProfile.GetActiveBuildProfile
Declaration
public static
Build.Profile.BuildProfile
GetActiveBuildProfile
();
Returns
BuildProfile
The active build profile. Returns null when a platform profile is active.
Description
Gets the active build profile.
Additional resources:
Platform profile
.
```csharp... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_1e71242e36de | unity_docs | rendering | What is `Shader.SetGlobalMatrix` in Unity? Explain its purpose and usage. | Shader.SetGlobalMatrix
Declaration
public static void
SetGlobalMatrix
(string
name
,
Matrix4x4
value
);
Declaration
public static void
SetGlobalMatrix
(int
nameID
,
Matrix4x4
value
);
Parameters
Parameter
Description
nameID
The name ID of the property retrieved by
Shader.PropertyToID
.
name
Th... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_7ef801130517 | unity_docs | editor | In Unity's 'Create a drag-and-drop UI inside a custom Editor window', what is 'Create a custom Editor window' and how does it work? | To start, create a default custom Editor window from the menu. Change the menu name and window title to
Drag And Drop
, and remove the code for the default labels, to make the UI more user-friendly.
Create a project in Unity with any template.
Right-click in the Assets folder and select
Create
>
UI Toolkit
>
Editor Win... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_8442f88d204f | unity_docs | scripting | In Unity's 'Work with blend shapes', what is 'Scripting access' and how does it work? | You can also set the blend weights through scripting using functions like GetBlendShapeWeight and
SetBlendShapeWeight
.
To check how many blend shapes a Mesh has, use the blendShapeCount variable.
This code example demonstrates how to blend a default shape into two other blend shapes over time when attached to a GameOb... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_814f7e9e16c5 | unity_docs | physics | What is `MonoBehaviour.FixedUpdate` in Unity? Explain its purpose and usage. | MonoBehaviour.FixedUpdate()
Description
Update called at regular, fixed intervals as part of Unity's physics update loop.
The interval between calls is determined by the value of
Time.fixedDeltaTime
. You can modify this value from code or by updating the
Fixed Timestep
value in the Unity Editor's
Time setting... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_194178b4685b | github | scripting | Write a Unity C# MonoBehaviour script called Game Process Installer | ```csharp
using UnityEngine;
using VContainer;
namespace AntiMonoBehaviour.Processes.Installers
{
[CreateAssetMenu(fileName = "GameProcessInstaller",
menuName = "AntiMonoBehaviour/GameProcessInstaller", order = 2)]
public class GameProcessInstaller : ProcessInstallerBase<GameProcess>, IGameProcessPara... | You are a senior Unity engineer. Answer questions about Unity scripting, XR/VR development, and game systems with working code examples. |
local_sr_a8e886356ea1 | unity_docs | scripting | What are the parameters of `HandleUtility.DistanceToCube` in Unity? | Returns float Distance from mouse to cube in pixels. Description Returns the distance in pixels from the mouse pointer to a cube. Calculates the screen space distance from the mouse pointer to a cube at given world
space position with the given rotation and size . Returns zero when mouse pointer is directly over the cu... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_4519e6cafe8b | unity_docs | scripting | What is `TerrainRenderFlags` in Unity? Explain its purpose and usage. | TerrainRenderFlags
enumeration
Description
Enum provding terrain rendering options.
Properties
Property
Description
Heightmap
Render heightmap.
Trees
Render trees.
Details
Render terrain details.
All
Render all options. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_fd1545b118ae | unity_docs | rendering | In Unity's 'Optimize the size of the iOS Player', what is 'Release build' and how does it work? | It’s recommended to create final release builds within Xcode. Navigate to the menu bar and select
Product
>
Archive
. This option ensures the build has the correct release configuration and strips any debug symbols. After issuing this command, Xcode switches to the Organizer window Archives tab. For further information... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_466e0da629b8 | unity_docs | rendering | In Unity's 'Configure reflections in prebuilt shaders', what is 'Select a workflow' and how does it work? | Select a material in the Hierarchy window, then in the
Inspector window of the material
do one of the following:
If your project uses the Universal
Render Pipeline
(URP), set
Workflow Mode to Metallic or Specular
in the
Surface Options
section.
If your project uses the Built-In Render Pipeline, set Shader to Standard t... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_628e81722e59 | unity_docs | scripting | Explain 'What’s new in Unity' in Unity. | Topic Description New in Unity 6.0
Find out what’s changed in Unity 6.0 since 2022.3.
New in Unity 6.0
documents new features introduced since Unity 6.0 preview and all the features documented in
New in Unity 6.0 Preview
,
New in Unity 2023.2
, and
New in Unity 2023.1
.
New in Unity 6.0 Preview
Find out what’s changed ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_30b2717b8780 | unity_docs | rendering | Explain 'Cookie texture Import Settings window reference' in Unity. | The Cookie texture type formats the texture asset so it’s suitable to use as a light cookie in the Built-in
Render Pipeline
. For this texture type, Unity updates the
Texture Shape
automatically based on the
Light Type
you select:
Directional Light and Spot Light
cookies use the
2D
shape.
Point Light
cookies use the Cu... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_363f59c2918f | unity_docs | rendering | Give me an overview of the `AssetPostprocessor` class in Unity. | AssetPostprocessor
class in
UnityEditor
Description
AssetPostprocessor lets you hook into the import pipeline and run scripts before or after importing assets.
During model import the functions are called in the following order:
OnPreprocessModel
is called at the very beginning and you can override
ModelImport... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f79b9978e10c | unity_docs | editor | Show me a Unity C# example demonstrating `AssetModificationProcessor.CanOpenForEdit`. | e
if all files can be opened for editing.
Description
This is called by Unity when inspecting assets to determine if they can potentially be opened for editing.
This is called by Unity's own systems, but you can also call it if you are implementing your own Editor tools such as a custom version control integratio... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2ec5e713a6d2 | unity_docs | animation | What is `Animations.PropertySceneHandle.IsValid` in Unity? Explain its purpose and usage. | PropertySceneHandle.IsValid
Declaration
public bool
IsValid
(
Animations.AnimationStream
stream
);
Parameters
Parameter
Description
stream
The
AnimationStream
managing this handle.
Returns
bool
Whether or not the handle is valid.
Description
Returns whether or not the handle is valid. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_c44bfdba6cdd_doc_0 | github | scripting | What does `BuildPathIfNotExists` do in this Unity script? Explain its purpose and signature. | Creates nodes if path does not exists. Supports only signle level folders.Path to build. Last element should be actual node name.Reference to dictionary to store references to itemsPath to provided node in path
Signature:
```csharp
protected string BuildPathIfNotExists(string[] path, ref Dictionary<string, ClassTypeDr... | You are a senior Unity engineer. Answer questions about Unity scripting, XR/VR development, and game systems with working code examples. |
local_sr_103eca710c06 | unity_docs | performance | Show me a Unity C# example demonstrating `Unity.Profiling.LowLevel.ProfilerMarkerDataType.Blob8`. | ProfilerMarkerDataType.Blob8
Description
Indicates that
ProfilerMarkerData.Ptr
points to a raw byte array.
Use
Blob8
to arbitrary binary data to the
ProfilerUnsafeUtility.BeginSampleWithMetadata
.
```csharp
using System.Diagnostics;
using System.Runtime.CompilerServices;
using Unity.Profiling;
using Unity.Pro... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_a8c7aa8d36f1 | unity_docs | physics | What is `AudioListener.velocityUpdateMode` in Unity? Explain its purpose and usage. | AudioListener.velocityUpdateMode
public
AudioVelocityUpdateMode
velocityUpdateMode
;
Description
This lets you set whether the Audio Listener should be updated in the fixed or dynamic update.
Make sure this is set to update in the same update loop as the Audio Listener is moved in if you are experiencing pro... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_cc69ae85b828 | unity_docs | rendering | What is `ShaderData.PreprocessedVariant` in Unity? Explain its purpose and usage. | PreprocessedVariant
struct in
UnityEditor
Description
Represents the results of preprocessing a variant using
ShaderData.Pass.PreprocessVariant
.
Properties
Property
Description
Messages
Stores errors and warnings produced during preprocessing (Read Only).
PreprocessedCode
Stores the preprocessed code for th... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_7767e1d3b533 | unity_docs | rendering | In Unity's 'Toggle shader keywords in the Editor', what is 'Example' and how does it work? | The following example adds a property called _RED , which enables and disables the keyword
_RED_ON
.
```
Shader "Unlit/ToggleRed"
{
Properties
{
[Toggle] _RED ("Make red", Integer) = 0
}
SubShader
{
Tags { "RenderType"="Opaque" }
Pass
{
HLSLPROGRAM
#pragma vertex vert
#pragma fragment frag
// Add the key... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_59d696600b84 | unity_docs | editor | What are the parameters of `AssetDatabase.LoadAllAssetRepresentationsAtPath` in Unity? | Returns Object[] Returns all sub-assets at assetPath . Description Obtains all sub-assets at assetPath . This method only returns sub-assets that are visible in the Project view. All paths are relative to the project folder, for example: "Assets/MyTextures/hello.png" Note : Sub-assets can be added explicitly via AssetD... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_1f63baf272d1 | unity_docs | ui | Show me a Unity code example for 'Universal selectors'. | A USS universal selector, also called the wildcard selector, matches any element. USS universal selectors are analogous to CSS universal selectors.
## Syntax
The following is the syntax for a USS universal selector:
```
* { ... }
```
## Example
To demonstrate how simple selectors match elements, here is an example ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_650078cf0062 | unity_docs | xr | What is `InsecureHttpOption.DevelopmentOnly` in Unity? Explain its purpose and usage. | InsecureHttpOption.DevelopmentOnly
Description
Allow
UnityWebRequest
to use plain text HTTP connections in development builds only.
In development builds,
UnityWebRequest
is allowed to use plain text HTTP connections. Otherwise, it is only allowed to use HTTPS connections.
Choose this option to if you want to u... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_549777bdf927 | unity_docs | physics | Show me a Unity C# example demonstrating `PhysicsShape2D.shapeType`. | PhysicsShape2D.shapeType
public
PhysicsShapeType2D
shapeType
;
Description
The shape type determines how the vertices and radius are used by this
PhysicsShape2D
.
Refer to the
PhysicsShapeType2D
documentation for more information about the different shape types.
```csharp
using UnityEngine;
using UnityEng... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_09d16d28546e | unity_docs | scripting | What is `Unity.Android.Gradle.BaseElement.AddElementDependency` in Unity? Explain its purpose and usage. | BaseElement.AddElementDependency
Declaration
public void
AddElementDependency
(
Unity.Android.Gradle.BaseElement
element
);
Declaration
public void
AddElementDependency
(uint
elementId
);
Parameters
Parameter
Description
element
Element which this element depend on.
elementId
ID of an element which t... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_a1f1d762e2f1 | unity_docs | scripting | What is `AssetBundleBuild.assetBundleVariant` in Unity? Explain its purpose and usage. | AssetBundleBuild.assetBundleVariant
public string
assetBundleVariant
;
Description
AssetBundle variant.
When specified, this property is converted to lowercase and appended, like a file extension, to the assetBundleName property to build the complete AssetBundle filename.
AssetBundle variants are used t... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_83980b5de48b_doc_0 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | --------------------------------------------------------------------------------------------Factory--------------------------------------------------------------------------------------------
Signature:
```csharp
private CharacterFactory _factory;
``` | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9ef9b3604efe | unity_docs | scripting | What is `Experimental.GraphView.GraphView.graphElements` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
GraphView.graphElements
public UQueryState<GraphElement>
graphElements
;
Description
All GraphElements in the graph. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_404ea3809f42_doc_4 | github | scripting | What does `Link` do in this Unity script? Explain its purpose and signature. | The method links current view's instance with a given entity's identifierAn integral identifier which represents some existing entity
Signature:
```csharp
public virtual void Link(EntityId entityId)
``` | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f2179645f2c3 | unity_docs | scripting | What is `Rendering.VertexAttribute.BlendWeight` in Unity? Explain its purpose and usage. | VertexAttribute.BlendWeight
Description
Bone blend weights for skinned Meshes.
Blend weights are usually floats.
This vertex attribute maps to
BLENDWEIGHTS
Semantic in the HLSL shading language.
Additional resources:
Mesh.HasVertexAttribute
,
Mesh.SetBoneWeights
. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_c7e7a90099ef | unity_docs | rendering | What is `Mesh.uv5` in Unity? Explain its purpose and usage. | Mesh.uv5
public Vector2[]
uv5
;
Description
The texture coordinates (UVs) in the fifth channel.
This channel is also commonly called "UV4". It maps to the shader semantic `TEXCOORD4`. When you call
Mesh.HasVertexAttribute
, this channel corresponds to
VertexAttribute.TexCoord4
.
Unity stores UVs in 0-1 space... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2d76ed396719 | unity_docs | scripting | Show me a Unity C# example demonstrating `MonoBehaviour.StopCoroutine`. | to.
The MonoBehaviour script is destroyed with a call to
Object.Destroy
.
Note
: Disabling the MonoBehaviour script by setting
Behaviour.enabled
to `false` doesn't stop coroutines.
StopCoroutine(null)
throws a NullReferenceException. Add checks to your code to ensure the argument is not null before calling
StopC... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_6270dc8825b7 | unity_docs | scripting | What is `Device.Application.installerName` in Unity? Explain its purpose and usage. | Application.installerName
public static string
installerName
;
Description
This has the same functionality as
Application.installerName
. At the moment, the Device Simulator doesn't support simulation of this property. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_d579f8ce4455 | unity_docs | rendering | What is `Camera.HorizontalToVerticalFieldOfView` in Unity? Explain its purpose and usage. | Camera.HorizontalToVerticalFieldOfView
Declaration
public static float
HorizontalToVerticalFieldOfView
(float
horizontalFieldOfView
,
float
aspectRatio
);
Parameters
Parameter
Description
horizontalFOV
The horizontal FOV value in degrees.
aspectRatio
The aspect ratio value used for the conversion
Descri... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9ee7b356ed13 | unity_docs | editor | What is `PrefabUtility.prefabInstanceUnpacked` in Unity? Explain its purpose and usage. | PrefabUtility.prefabInstanceUnpacked
Parameters
Parameter
Description
value
Instance root GameObject and unpack mode.
Description
Unity calls this method automatically after a Prefab instance is unpacked. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e56a42b6825c | unity_docs | ui | What is `Experimental.GraphView.Node.outputContainer` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
Node.outputContainer
public
UIElements.VisualElement
outputContainer
;
Description
Outputs container, used for output ports. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e6d9e091a9c6 | unity_docs | scripting | What is `AudioSource.Stop` in Unity? Explain its purpose and usage. | AudioSource.Stop
Declaration
public void
Stop
();
Description
Stops playing the
clip
.
The AudioSource.stop function stops the currently set Audio clip from playing. The Audio clip plays from the beginning the next time you play it.
Additional resources:
Play
,
Pause
functions.
```csharp
//This script all... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_486a7aa7813c | unity_docs | scripting | Show me a Unity C# example demonstrating `SystemLanguage.Swedish`. | SystemLanguage.Swedish
Description
Swedish.
```csharp
using UnityEngine;public class Example : MonoBehaviour
{
void Start()
{
//This checks if your computer's operating system is in the Swedish language
if (Application.systemLanguage == SystemLanguage.Swedish)
{
//Outputs into console that the system is Swedi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_de33ca48a9a8 | unity_docs | rendering | What is `AssetPostprocessor.assetPath` in Unity? Explain its purpose and usage. | AssetPostprocessor.assetPath
public string
assetPath
;
Description
The path name of the asset being imported.
```csharp
using UnityEngine;
using UnityEditor;// Automatically sets Textures settings upon first import and prints the
// path from where is being importedclass CustomImportSettings : AssetPostprocesso... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_60f95749cbac | unity_docs | math | What is `Tilemaps.Tilemap.GetTilesBlockNonAlloc` in Unity? Explain its purpose and usage. | Tilemap.GetTilesBlockNonAlloc
Declaration
public int
GetTilesBlockNonAlloc
(
BoundsInt
bounds
,
TileBase[]
tiles
);
Parameters
Parameter
Description
bounds
The bounds to retrieve from.
tiles
The array of
Tile
s to contain the Tiles at the given bounds.
Returns
int
Returns the number of Tiles retriev... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_858c2a11f580 | github | scripting | Write a Unity C# ScriptableObject for Data Config Base | ```csharp
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GameUtil.Config
{
public interface IDataConfig
{
void Init();
void Assign(IEnumerable enumerable);
void Add(object item);
}
public class DataConfigBase<T> : ScriptableObject, ... | You are a knowledgeable Unity developer. Explain Unity concepts clearly and provide practical, tested code examples. |
local_sr_517331067c00 | unity_docs | audio | What is `AudioSettings.GetConfiguration` in Unity? Explain its purpose and usage. | AudioSettings.GetConfiguration
Declaration
public static
AudioConfiguration
GetConfiguration
();
Returns
AudioConfiguration
The new configuration to be applied.
Description
Returns the current configuration of the audio device and system. The values in the struct may then be modified and reapplied via
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_8bc382a7209b | unity_docs | rendering | What is `MeshDeformation` in Unity? Explain its purpose and usage. | MeshDeformation
enumeration
Description
Specifies which method Unity uses to process mesh deformations for skinning.
Additional resources:
PlayerSettings.meshDeformation
.
Properties
Property
Description
CPU
Enables Unity using the CPU to process mesh deformations.
GPU
Enables Unity using compute shaders to ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_aadba85ed9e9 | unity_docs | rendering | In Unity's 'GPU instancing shader reference for the Built-In Render Pipeline', what is 'Instancing_options switches' and how does it work? | The
[#pragma instancing_options]
(#pragma-instancing_options) directive can use the following switches:
Switch Description forcemaxcount:batchSize and maxcount:batchSize
On most platforms, Unity automatically calculates the instancing data array size. It divides the maximum constant buffer size on the target device wit... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_efb90c313a07 | unity_docs | scripting | What is `Profiling.HierarchyFrameDataView.GetItemMergedSamplesMetadataAsLong` in Unity? Explain its purpose and usage. | HierarchyFrameDataView.GetItemMergedSamplesMetadataAsLong
Declaration
public long
GetItemMergedSamplesMetadataAsLong
(int
id
,
int
sampleIndex
,
int
metadataIndex
);
Parameters
Parameter
Description
id
Hierarchy item identifier.
sampleIndex
Merged sample index.
metadataIndex
Metadata index.
Returns
l... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_045bc821dbca | github | scripting | Write a Unity Editor script for System Manager Observer Editor | ```csharp
using TinyECS.Interfaces;
using TinyECSUnityIntegration.Impls;
using UnityEditor;
using UnityEngine;
namespace TinyECSUnityIntegrationEditor.Inspectors
{
[CustomEditor(typeof(SystemManagerObserver), true)]
public class SystemManagerObserverEditor: Editor
{
public override void OnInspect... | You are an experienced Unity developer specializing in C# scripting, XR/VR development, and performance optimization. |
local_sr_97f7e206b84a | unity_docs | math | What is `Material.SetColorArray` in Unity? Explain its purpose and usage. | Material.SetColorArray
Declaration
public void
SetColorArray
(string
name
,
Color[]
values
);
Declaration
public void
SetColorArray
(int
nameID
,
Color[]
values
);
Declaration
public void
SetColorArray
(string
name
,
List<Color>
values
);
Declaration
public void
SetColorArray
(int
nameID
,
List<C... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_a64d2250eb51_doc_0 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Get/Set the ARHumanBodyManager.
Signature:
```csharp
public ARHumanBodyManager humanBodyManager
``` | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_920246fedfbb | unity_docs | rendering | In Unity's 'Organizing assets into AssetBundles', what is 'Strategies for organizing AssetBundles' and how does it work? | You can organize your assets in the following ways:
By function
: Organize assets based on functional portions of your project. Typical categories might include user interface, characters, environments, and other elements frequently used throughout your application.
By type
: Type Grouping focuses on bundling assets of... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9daf4c6a9edd | unity_docs | audio | Show me a Unity C# example demonstrating `AudioEchoFilter.wetMix`. | AudioEchoFilter.wetMix
public float
wetMix
;
Description
Volume of echo signal to pass to output. 0.0 to 1.0. Default = 1.0.
```csharp
using UnityEngine;[RequireComponent(typeof(AudioSource))]
[RequireComponent(typeof(AudioEchoFilter))]
public class Example : MonoBehaviour
{
// Mixes both Echo generated sound... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_aa44a3c802f4 | unity_docs | scripting | Explain 'Unity .NET features' in Unity. | Unity integrates the .NET platform, which enables you to write performant C# code that runs on a wide range of target hardware configurations and platforms. The exact C# API surface available to your code and the level of support for specific APIs varies depending on the API compatibility level you select and the platf... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9dd2afe36a2a | unity_docs | math | What is `Embree.GpuBvhBuildQuality` in Unity? Explain its purpose and usage. | GpuBvhBuildQuality
enumeration
Description
BVH build quality.
The quality levels represent a trade-off between acceleration structure build performance and ray tracing performance. The slower the acceleration structure build speed, the higher the runtime ray tracing performance is.
Properties
Property
Descripti... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_dd623cf223b1 | unity_docs | editor | Show me a Unity C# example demonstrating `BuildAssetBundleOptions.DryRunBuild`. | BuildAssetBundleOptions.DryRunBuild
Description
Do a dry run build.
This allows you to do a dry run build for the AssetBundles but not actually build them. With this option enabled,
BuildPipeline.BuildAssetBundles
still returns an
AssetBundleManifest
object which contains valid AssetBundle dependencies and hash... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_cd57825a5265 | unity_docs | editor | What is `PropertyModification` in Unity? Explain its purpose and usage. | PropertyModification
class in
UnityEditor
Description
Defines a single modified property.
Used by the Prefab system to track any changes applied to an instance.
Properties
Property
Description
objectReference
The value being applied when it is an object reference (which can not be represented as a string).
p... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_7f192a2c3d3a | unity_docs | xr | Explain 'Garbage collector overview' in Unity. | Unity uses a
garbage collector
to reclaim memory from objects that your application and Unity are no longer using. When a script tries to make an allocation on the managed heap but there isn’t enough free heap memory to accommodate the allocation, Unity runs the garbage collector.
When the garbage collector runs, it ex... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_f5673f7ea789 | github | scripting | Write a Unity C# XR/VR script for VR Rig | ```csharp
// SPDX-License-Identifier: MIT
using System.Collections.Generic;
using GaussianSplatting.Runtime;
using UnityEngine;
using UnityEngine.XR;
/// <summary>
/// Manages the XR camera rig for Gaussian Splatting VR viewing.
///
/// Hierarchy:
/// XROrigin [this script + VRLocomotion]
/// └── CameraOffset
//... | You are a knowledgeable Unity developer. Explain Unity concepts clearly and provide practical, tested code examples. |
local_sr_5c9de42f73f9 | unity_docs | physics | Give me an overview of the `NPOTSupport` class in Unity. | NPOTSupport
enumeration
Description
NPOT
textures
support.
Properties
Property
Description
Restricted
Limited NPOT support: no mipmaps and clamp wrap mode will be forced.
Full
Full NPOT support. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_5a44637629fa | unity_docs | physics | What is `JointSuspension2D.dampingRatio` in Unity? Explain its purpose and usage. | JointSuspension2D.dampingRatio
public float
dampingRatio
;
Description
The amount by which the suspension spring force is reduced in proportion to the movement speed.
The suspension spring will oscillate with a certain frequency as forces are added and removed from it. The higher the damping ratio, the quicker ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_73c387cc00ad | unity_docs | animation | What is `Animation.RemoveClip` in Unity? Explain its purpose and usage. | Animation.RemoveClip
Declaration
public void
RemoveClip
(
AnimationClip
clip
);
Description
Remove clip from the animation list.
This willl remove the clip and any animation states based on it.
Declaration
public void
RemoveClip
(string
clipName
);
Description
Remove clip from the animation list.
Thi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_bade156c9a93 | unity_docs | scripting | What is `Profiling.HierarchyFrameDataView.GetItemDepth` in Unity? Explain its purpose and usage. | HierarchyFrameDataView.GetItemDepth
Declaration
public int
GetItemDepth
(int
id
);
Parameters
Parameter
Description
id
Hierarchy item identifier.
Description
Returns hierarchy level of the item. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_03bfcf1a626a | unity_docs | physics | What is `EdgeCollider2D.useAdjacentStartPoint` in Unity? Explain its purpose and usage. | EdgeCollider2D.useAdjacentStartPoint
public bool
useAdjacentStartPoint
;
Description
Set this to true to use the
adjacentStartPoint
to form the collision normal that is used to calculate the collision response when a collision occurs at the Edge Collider's start point. Set this to false to not use the
adjacen... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_21e69fa92c5e | unity_docs | rendering | In Unity's 'Add GameObjects to reflections', what is 'Update Reflection Probes' and how does it work? | To update probes, do one of the following:
In a probe’s Inspector window, select
Bake
.
In the Lighting window, select
Generate Lighting
. This updates all probes.
The bake process will take place asynchronously while you continue to work in the editor. If you move any static objects, change their materials or otherwis... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_6ae005a6da53 | unity_docs | editor | Show me a Unity C# example demonstrating `iOS.Xcode.PBXProject.GetEntitlementFilePathForTarget`. | Declaration
public string
GetEntitlementFilePathForTarget
(string
targetGuid
);
Parameters
Parameter
Description
targetGuid
The GUID of the target, such as the one returned by
TargetGuidByName
.
Returns
string
The relative path to the entitlement file or
null
if it does not exist.
Description
Return... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_89be4dc43fc4 | unity_docs | scripting | What is `TerrainTools.FoliageIndex` in Unity? Explain its purpose and usage. | FoliageIndex
enumeration
Description
The index at which you should place the foliage tools in the Terrain Tools overlay.
Properties
Property
Description
PaintDetails
The index at which you should place the Paint Details foliage tool in the Terrain Tools overlay.
PaintTrees
The index at which you should place t... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_27e903c13d2f | unity_docs | rendering | What is `TextureImporterPlatformSettings.ignorePlatformSupport` in Unity? Explain its purpose and usage. | TextureImporterPlatformSettings.ignorePlatformSupport
public bool
ignorePlatformSupport
;
Description
Ignores platform support checks for the selected texture format.
By default, `TextureGenerator` checks if the active build target supports the selected texture format. If you enable this property, `TextureGener... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_876c87fe8605 | unity_docs | input | In Unity's 'Mobile Keyboard', what is 'Manual Keyboard Handling' and how does it work? | Note
: The TouchScreenKeyboard API is only supported on native iPhone, Android, and Windows Store Apps. Attempting to access its properties on unsupported platforms throws an exception. If you’re targeting multiple platforms, make sure your code checks
TouchScreenKeyboard.isSupported
before attempting to use it.
Use th... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_dc3a6aced067 | unity_docs | math | What is `Rendering.CommandBuffer.SetRayTracingMatrixArrayParam` in Unity? Explain its purpose and usage. | CommandBuffer.SetRayTracingMatrixArrayParam
Declaration
public void
SetRayTracingMatrixArrayParam
(
Rendering.RayTracingShader
rayTracingShader
,
string
name
,
params Matrix4x4[]
values
);
Declaration
public void
SetRayTracingMatrixArrayParam
(
Rendering.RayTracingShader
rayTracingShader
,
int
nameID
,
pa... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_6fe35a8b7512 | unity_docs | scripting | In Unity's 'Scale Constraint component', what is 'Constraint Settings' and how does it work? | Property Description Lock
Enable to let the Constraint resize the GameObject. Disable this property to edit the scale of this GameObject. You can also edit the
Scale At Rest and Scale Offset
properties. If
Is Active
is enabled, the Constraint updates the
Scale At Rest or Scale Offset
properties for you as you resize th... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f1c5a96284e8 | unity_docs | scripting | What are the parameters of `Gizmos.DrawIcon` in Unity? | Description Draw an icon at a position in the Scene view. Place the image file in the Assets/Gizmos folder. DrawIcon can be used to allow important objects in your game to be selected quickly. ```csharp
using UnityEngine;
using System.Collections;public class ExampleClass : MonoBehaviour
{
void OnDrawGizmos()
{... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_354c609c9c3d | unity_docs | xr | What is `Networking.DownloadHandler.isDone` in Unity? Explain its purpose and usage. | DownloadHandler.isDone
public bool
isDone
;
Description
Returns
true
if this DownloadHandler has been informed by its parent
UnityWebRequest
that all data has been received, and this DownloadHandler has completed any necessary post-download processing. (Read Only) | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_a7e8674f481a | unity_docs | rendering | Explain 'Advertisement Legacy' in Unity. | com.unity.ads
## Description
NOTE: as of January 31, 2026, the Unity Ads network is completing its transition to in-app bidding and direct integration of the Unity Ads SDK using this package for monetization purposes is no longer supported. To begin or continue monetizing with Unity Ads and receiving access to all Un... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_75fdab290def | unity_docs | math | What is `Search.QueryEngine_1.AddFilter` in Unity? Explain its purpose and usage. | QueryEngine<T0>.AddFilter
Declaration
public void
AddFilter
(string
token
,
Func<TData,TFilter>
getDataFunc
,
string[]
supportedOperatorType
);
Declaration
public void
AddFilter
(string
token
,
Func<TData,TFilter>
getDataFunc
,
stringComparison
stringComparison
,
string[]
supportedOperatorType
);
Param... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_4601cc219db4 | unity_docs | rendering | What is `ModelImporterNormals` in Unity? Explain its purpose and usage. | ModelImporterNormals
enumeration
Description
Normal generation options for
ModelImporter
.
Normals can either be imported from the Model file (default), calculated by Unity, or not included in the imported Mesh at all. Vertex normals are most often used for real-time lighting.
Additional resources:
ModelImporter... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2f89732efa16 | unity_docs | rendering | What is `Rendering.ShadowDrawingSettings.splitData` in Unity? Explain its purpose and usage. | Method group is Obsolete
ShadowDrawingSettings.splitData
Obsolete
ShadowDrawingSettings.splitData is deprecated. The equivalent data must be passed to ScriptableRenderContext.CullShadowCasters.
public
Rendering.ShadowSplitData
splitData
;
Description
The split data. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_59964945c18a | unity_docs | editor | Show me a Unity C# example demonstrating `AssetDatabase.GetMainAssetTypeAtPath`. | AtPath
Declaration
public static Type
GetMainAssetTypeAtPath
(string
assetPath
);
Parameters
Parameter
Description
assetPath
Filesystem path of the asset to load.
Returns
Type
Returns the type of the main asset object at
assetPath
.
Description
Obtains the type of the main asset object.
All paths a... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ad4f224e363b | unity_docs | rendering | What is `Rendering.LocalKeyword` in Unity? Explain its purpose and usage. | LocalKeyword
struct in
UnityEngine.Rendering
/
Implemented in:
UnityEngine.CoreModule
Description
Represents a shader keyword declared in a shader source file.
Shader keywords determine which shader variants Unity uses. You can use a
LocalKeyword
to enable, disable, or check the state of a
local
shader keyw... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_a2d665b51f92 | unity_docs | xr | What is `WSA.Tile.DeleteSecondary` in Unity? Explain its purpose and usage. | Tile.DeleteSecondary
Declaration
public static void
DeleteSecondary
(string
tileId
);
Declaration
public static void
DeleteSecondary
(string
tileId
,
Vector2
pos
);
Declaration
public static void
DeleteSecondary
(string
tileId
,
Rect
area
);
Parameters
Parameter
Description
tileId
An identifi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_e467bfc67d24 | unity_docs | physics | Explain 'Cloth' in Unity. | The Cloth component works with the Skinned Mesh Renderer to provide a physics-based solution for simulating fabrics. It is specifically designed for character clothing, and only works with the Skinned
Mesh Renderer
. If you add a Cloth component to a GameObject with a regular Mesh Renderer, Unity removes the Mesh Rende... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_3b605e884254 | unity_docs | networking | What are the parameters of `Experimental.Rendering.GraphicsStateCollection.SendToEditor` in Unity? | Returns bool Returns true if successfully sent, false otherwise. Description Send GraphicsStateCollection to the Editor using PlayerConnection. This method sends serialized GraphicsStateCollection data to a connected Editor instance on-demand. The Editor instance will save the GraphicsStateCollection to disk in the ope... | 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.