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_39daf1442521 | unity_docs | scripting | What is `Experimental.Rendering.GraphicsFormatUtility.IsStencilFormat` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
GraphicsFormatUtility.IsStencilFormat
Declaration
public static bool
IsStencilFormat
(
Experimental.Rendering.GraphicsFormat
format
);
Description
Returns true if the format is a stencil format. Returns false otherwise. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_244efd5bf5b2 | unity_docs | scripting | What is `Handles.CubeHandleCap` in Unity? Explain its purpose and usage. | Handles.CubeHandleCap
Declaration
public static void
CubeHandleCap
(int
controlID
,
Vector3
position
,
Quaternion
rotation
,
float
size
,
EventType
eventType
);
Parameters
Parameter
Description
controlID
The control ID for the handle.
position
The position of the handle in the space of
Handles.m... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_8271446964e0 | github | scripting | Write a Unity Editor script for Put Back Socket Interactor Editor | ```csharp
using UnityEngine;
using UnityEditor;
using UnityEngine.XR.Interaction.Toolkit;
using ExPresSXR.Interaction;
using UnityEditor.VersionControl;
namespace ExPresSXR.Editor.Editors
{
[CustomEditor(typeof(PutBackSocketInteractor))]
[CanEditMultipleObjects]
public class PutBackSocketInteractorEditor ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_8608a34c2ef7 | unity_docs | xr | In Unity's 'Ambisonic Audio', what is 'Playing the ambisonic audio clip through an Audio Source' and how does it work? | To play an ambisonic audio clip through an
Audio Source
:
Assign the WAV file as an
Audio Clip
on an Audio Source.
Disable the Spatialize option. When you play an ambisonic audio clip, it is automatically decoded through the project’s selected ambisonic audio decoder. The decoder converts the clip from ambisonic format... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7b1c42c0255f | unity_docs | rendering | What is `ComputeShader.shaderKeywords` in Unity? Explain its purpose and usage. | ComputeShader.shaderKeywords
public string[]
shaderKeywords
;
Description
An array containing names of the local shader keywords that are currently enabled for this compute shader.
Shader keywords determine which shader variants Unity uses. For information on working with
local shader keywords
and
global sh... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_85b33cb99cb7 | unity_docs | editor | Explain 'Set background images' in Unity. | You can use either the Image element or the
VisualElement.style.backgroundImage
property to add visual content to your UI. The choice between the two depends on the specific requirements of your application. For more information, refer to
Image versus
VisualElement.style.backgroundImage
.
## Set background images with... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_18764a9a40db | unity_docs | xr | In Unity's 'iOS 14 Advertising Support', what is 'Compatible with Unity' and how does it work? | These package versions are available in Unity version 6000.0:
Documentation location:
State
Versions available:
com.unity.ads.ios-support@1.2 released 1.2.0-preview.1, 1.2.0
com.unity.ads.ios-support@1.1 released 1.1.0-preview.1, 1.1.0-preview.2, 1.1.0
com.unity.ads.ios-support@1.0 released 1.0.0, 1.0.1 | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_1fe6d9352b7b | unity_docs | rendering | Show me a Unity C# example demonstrating `LightTransport.InputExtraction.PopulateWorld`. | exts: Data organized for SIMD processing and cache efficiency.
Performance Impact:
This operation can take significant time for complex scenes as it involves:
- Geometry preprocessing and optimization.
- Memory allocations and data transfers.
- Acceleration structure construction.
- Shader compilation (on first use).
T... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_85296facf4fc | unity_docs | scripting | Give me an overview of the `ImageEffectAfterScale` class in Unity. | ImageEffectAfterScale
class in
UnityEngine
/
Implemented in:
UnityEngine.CoreModule
Description
Any Image Effect with this attribute will be rendered after Dynamic Resolution stage.
If you wish your image effect to be applied after the Dynamic Resolution has scaled back up add this attribute. The effect will be... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_bd509ebb6a1b | unity_docs | rendering | What is `TextureImporterSettings.flipbookRows` in Unity? Explain its purpose and usage. | TextureImporterSettings.flipbookRows
public int
flipbookRows
;
Description
The number of rows in the source image for a Texture2DArray or Texture3D.
When Unity imports a texture with a
textureShape
of
TextureImporterShape.Texture2DArray
or
TextureImporterShape.Texture3D
, it divides the source image into c... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_0aa7363cd51b | unity_docs | editor | What is `AssetImporters.AssetImporterEditor.Apply` in Unity? Explain its purpose and usage. | AssetImporterEditor.Apply
Declaration
protected void
Apply
();
Description
Saves any changes from the Editor's control into the asset's import settings object.
Can be overridden as required. Gets called when changes to settings are being applied.
```csharp
using UnityEngine;
using UnityEditor;
using UnityEdito... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_db599751c4be | unity_docs | rendering | What is `AssetDatabase.GetAssetPath` in Unity? Explain its purpose and usage. | AssetDatabase.GetAssetPath
Declaration
public static string
GetAssetPath
(int
instanceID
);
Declaration
public static string
GetAssetPath
(
Object
assetObject
);
Parameters
Parameter
Description
instanceID
The instance ID of the asset.
assetObject
A reference to the asset.
Returns
string
The asse... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_da5f8ee95ef8 | unity_docs | physics | What is `PhysicsShapeGroup2D.shapeCount` in Unity? Explain its purpose and usage. | PhysicsShapeGroup2D.shapeCount
public int
shapeCount
;
Description
The total number of
PhysicsShape2D
in the shape group. (Read Only)
```csharp
using UnityEngine;
using UnityEngine.Assertions;public class Example : MonoBehaviour
{
private const int ShapeCount = 10; void Start()
{
// Create a shape group.
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b05648b89018 | unity_docs | scripting | What is `PrefabUtility.IsPartOfVariantPrefab` in Unity? Explain its purpose and usage. | PrefabUtility.IsPartOfVariantPrefab
Declaration
public static bool
IsPartOfVariantPrefab
(
Object
componentOrGameObject
);
Parameters
Parameter
Description
componentOrGameObject
The object to check. Must be a component or GameObject.
Returns
bool
True if the object is part of a Prefab Variant.
Descri... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_0de37b97f281 | unity_docs | editor | What is `Highlighter.HighlightIdentifier` in Unity? Explain its purpose and usage. | Highlighter.HighlightIdentifier
Declaration
public static void
HighlightIdentifier
(
Rect
position
,
string
identifier
);
Parameters
Parameter
Description
position
The position to make highlightable.
identifier
The identifier text of the rect.
Description
Call this method to create an identifiable rect... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_0ab8898702f0 | unity_docs | scripting | What is `UIElements.SearchFieldBase_2.ClearTextField` in Unity? Explain its purpose and usage. | SearchFieldBase<T0,T1>.ClearTextField
Declaration
protected void
ClearTextField
();
Description
Method used when clearing the text field. You should usually clear the value when overriding the method. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_0bd23c00f293 | unity_docs | animation | What is `AnimatorStateInfo.speedMultiplier` in Unity? Explain its purpose and usage. | AnimatorStateInfo.speedMultiplier
public float
speedMultiplier
;
Description
The speed multiplier for this state.
A negative speed multiplier will play the animation backwards.
If no speed parameter as been set for this
AnimatorState
, the default value will be 1.
see
AnimatorState.speedParameter
,
AnimatorS... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_23f61522a7f7_doc_1 | github | scripting | What does `RightHand2UnityLeftHand` do in this Unity script? Explain its purpose and signature. | runtime右手坐标系结果转换成Unity左手系结果旋转, 四元数, [x,y,z,w]
Signature:
```csharp
static public void RightHand2UnityLeftHand(float[] rotation)
``` | You are a senior Unity engineer. Answer questions about Unity scripting, XR/VR development, and game systems with working code examples. |
gh_1ccc7f3d31db | github | scripting | Write a Unity C# XR/VR script for App Manager | ```csharp
using UnityEngine;
using System.IO;
namespace TapLive.Core
{
/// <summary>
/// Central application manager - handles initialization and lifecycle
/// </summary>
public class AppManager : MonoBehaviour
{
public static AppManager Instance { get; private set; }
[Header("Conf... | You are an experienced Unity developer specializing in C# scripting, XR/VR development, and performance optimization. |
local_sr_5c183ec5e649 | unity_docs | rendering | Give me an overview of the `ParticleSystemMeshShapeType` class in Unity. | ParticleSystemMeshShapeType
enumeration
Description
The mesh emission type.
Properties
Property
Description
Vertex
Emit from the vertices of the mesh.
Edge
Emit from the edges of the mesh.
Triangle
Emit from the surface of the mesh. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_55fdb0c26016 | unity_docs | xr | What is `Unity.IO.LowLevel.Unsafe.AsyncReadManagerRequestMetric.Subsystem` in Unity? Explain its purpose and usage. | AsyncReadManagerRequestMetric.Subsystem
public
Unity.IO.LowLevel.Unsafe.AssetLoadingSubsystem
Subsystem
;
Description
The
Subsystem tag
assigned to the read operation.
You can assign a subsystem tag to a read operation using the
subsystem
parameter of the
AsyncReadManager.Read
function. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e6731e23ec83 | unity_docs | rendering | What is `Device.SystemInfo.supportsSparseTextures` in Unity? Explain its purpose and usage. | SystemInfo.supportsSparseTextures
public static bool
supportsSparseTextures
;
Description
This has the same functionality as
SystemInfo.supportsSparseTextures
and also mimics platform-specific behavior in the Unity Editor. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_fe1aa8aa0df0 | unity_docs | scripting | Show me a Unity code example for 'Handling dependencies between AssetBundles'. | es then only reference the modulesmaterials AssetBundle, reducing their size.
For more information, refer to
Avoiding asset duplication
.
## Runtime loading
When using a common AssetBundle for shared assets, load it into memory before loading AssetBundles that depend on it. In the following example, the shared Materi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e49cc14d7ff7 | unity_docs | performance | What is `Unity.Jobs.LowLevel.Unsafe.BatchQueryJob_2` in Unity? Explain its purpose and usage. | BatchQueryJob<T0,T1>
struct in
Unity.Jobs.LowLevel.Unsafe
/
Implemented in:
UnityEngine.CoreModule
Description
Provides an implementation for batch query jobs.
A batch query job is a job implemented in native code in Unity. This struct is part of the interface used to schedule a batch job. Use this struct
to im... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b31780daf691 | unity_docs | ui | What is `UIElements.VisualElement.Hierarchy.IndexOf` in Unity? Explain its purpose and usage. | VisualElement.Hierarchy.IndexOf
Declaration
public int
IndexOf
(
UIElements.VisualElement
element
);
Parameters
Parameter
Description
element
The element to return the index for.
Returns
int
The index of the element, or -1 if the element is not found.
Description
Retrieves the index of the specifie... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_54ccbaedf674 | unity_docs | rendering | What is `U2D.SpriteAtlasExtensions.SetIsVariant` in Unity? Explain its purpose and usage. | SpriteAtlasExtensions.SetIsVariant
Declaration
public static void
SetIsVariant
(
U2D.SpriteAtlas
spriteAtlas
,
bool
value
);
Description
Sets whether this Sprite Atlas is a variant or not.
A Variant will not repack a new texture from the packable list. Instead, it will duplicate the master's packed texture a... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7537328d839a | unity_docs | rendering | What is `Media.VP8EncoderAttributes` in Unity? Explain its purpose and usage. | VP8EncoderAttributes
struct in
UnityEditor.Media
Description
Descriptor for VP8 encoder attributes.
```csharp
using UnityEditor.Media;
using UnityEngine;
using Unity.Collections;
using System.IO;public class Recorder
{
static public void RecordMovie()
{
VP8EncoderAttributes vp8Attr = new VP8EncoderAttributes
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f592e6db2d33 | unity_docs | rendering | What is `TerrainLayerSmoothnessSource` in Unity? Explain its purpose and usage. | TerrainLayerSmoothnessSource
enumeration
Description
Source of smoothness value used in the underlying splat material of a
TerrainLayer
when
TerrainLayer.diffuseTexture
has an alpha channel.
When
TerrainLayer.diffuseTexture
has an alpha channel, you can set smoothness by
TerrainLayer.smoothness
or through ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_8e5eb3d48c6a | unity_docs | scripting | What is `ParticleSystem.ForceOverLifetimeModule.y` in Unity? Explain its purpose and usage. | ParticleSystem.ForceOverLifetimeModule.y
public
ParticleSystem.MinMaxCurve
y
;
Description
The curve defining particle forces in the y-axis.
Additional resources:
MinMaxCurve
.
```csharp
using UnityEngine;
using System.Collections;[RequireComponent(typeof(ParticleSystem))]
public class ExampleClass : MonoB... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_a8094397d243 | unity_docs | physics | What is `Cloth.stiffnessFrequency` in Unity? Explain its purpose and usage. | Cloth.stiffnessFrequency
public float
stiffnessFrequency
;
Description
Sets the stiffness frequency parameter.
The stiffness frequency controls the power-law nonlinearity of all rate of change parameters (stretch stiffness, shear stiffness, bending stiffness, tether stiffness, self-collision stiffness, motion ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_6e257e89dbe8 | unity_docs | rendering | What is `FrameDebugger` in Unity? Explain its purpose and usage. | FrameDebugger
class in
UnityEngine
/
Implemented in:
UnityEngine.CoreModule
Description
Controls the
Frame Debugger
from a script.
The Frame Debugger lets you freeze playback for a running game on a particular frame and view the
individual draw calls that are used to render that frame. In some cases it can be... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_1b253fafffec | unity_docs | editor | Show me a Unity C# example demonstrating `PlayerSettings.Android.defaultWindowHeight`. | PlayerSettings.Android.defaultWindowHeight
public static int
defaultWindowHeight
;
Description
The default vertical size of the Android Player window in pixels.
On Android phones and tablets that support multiple windows, this controls the height of the window when in the popup window mode.
```csharp
using Un... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_bd5969e828d3_doc_20 | github | scripting | What does `ClearShouldConsumeInputDelegate` do in this Unity script? Explain its purpose and signature. | Clears any delegate previously supplied to SetShouldConsumeInputDelegate, with the result that the camera will always respond to input eventsif one has been supplied to SetControlledCamera.
Signature:
```csharp
public void ClearShouldConsumeInputDelegate()
``` | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_be54d3d11258 | unity_docs | scripting | Show me a Unity C# example demonstrating `Mesh.OptimizeIndexBuffers`. | he ordering of the geometry is not significant as it will change - the order of the vertices in the mesh is unaffected.
You should only use this function on meshes you generate procedurally in code, for regular mesh assets it is called automatically by the import pipeline when 'Optimize Mesh' is enabled in the mesh imp... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_dddd5eec2925 | unity_docs | physics | Show me a Unity C# example demonstrating `PhysicsShapeGroup2D.GetShapeVertices`. | ased with the shape group having a quantity of shapes specified by
shapeCount
.
vertices
A list that will be populated with a copy of all the shape vertices in the
PhysicsShapeGroup2D
.
Description
Gets a copy of the shape vertices in the
PhysicsShapeGroup2D
.
NOTE
: Because this is a copy, changing the specifi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_5ef3d6359cc7 | unity_docs | rendering | What is `Mesh.uv4` in Unity? Explain its purpose and usage. | Mesh.uv4
public Vector2[]
uv4
;
Description
The texture coordinates (UVs) in the fourth channel.
This channel is also commonly called "UV3". It maps to the shader semantic `TEXCOORD3`. When you call
Mesh.HasVertexAttribute
, this channel corresponds to
VertexAttribute.TexCoord3
.
Unity stores UVs in 0-1 spac... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_4a373bfc527c | unity_docs | scripting | What is `AudioType.OGGVORBIS` in Unity? Explain its purpose and usage. | AudioType.OGGVORBIS
Description
The audio file you want to stream has the Ogg Vorbis audio file format.
Use this enumeration value to ensure the format type of the audio file has the Ogg Vorbis audio file format. Use this audio type for files with the extension .ogg
. If the audio file has a different format, Unity... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_1e83fff5e74c | unity_docs | rendering | What is `Texture2D.ctor` in Unity? Explain its purpose and usage. | Texture2D Constructor
Declaration
public
Texture2D
(int
width
,
int
height
);
Description
Create a new empty texture.
The texture will be
width
by
height
size, with an RGBA32
TextureFormat
, with mipmaps and in sRGB color space.
Usually you will want to set the colors of the texture after creating it, us... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_5291b01ed446 | unity_docs | rendering | Explain 'Make a material transparent' in Unity. | To make a material transparent if it uses the Standard Shader , follow these steps in the Inspector window of the material:
Set
Rendering Mode to Transparent or Fade
.
Select the Albedo swatch to open the Color window.
Set the Alpha (
A
) slider. A value of 0 means fully transparent, and a value of 1 means fully opaque... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_134667081bd0 | unity_docs | performance | What is `SceneManagement.SceneManager.MoveGameObjectsToScene` in Unity? Explain its purpose and usage. | SceneManager.MoveGameObjectsToScene
Declaration
public static void
MoveGameObjectsToScene
(NativeArray<int>
instanceIDs
,
SceneManagement.Scene
scene
);
Parameters
Parameter
Description
instanceIDs
GameObjects by instance ID to move.
scene
Scene to move into.
Description
Move multiple GameObjects, rep... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_27d80f9579ba | unity_docs | scripting | What is `FrameTiming.cpuTimeFrameComplete` in Unity? Explain its purpose and usage. | FrameTiming.cpuTimeFrameComplete
public ulong
cpuTimeFrameComplete
;
Description
This is the CPU clock time at the point GPU finished rendering the frame and interrupted the CPU.
The CPU clock time at the point when the GPU finishes rendering the frame. On most platforms, this value is calculated and equals
fi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_09e9fa0df21d | unity_docs | scripting | Explain 'Multiplayer Services Building Blocks prerequisites' in Unity. | To use the Multiplayer Unity Building Blocks, set up the following in your project:
A
Unity project
(6.0 LTS or later recommended).
Access to
Unity Dashboard
and a
Unity organization
.
Editor sign-in with a user that has
access to the organization and project
.
Network access to
Unity Services
endpoints.
## How Multip... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_997bf6958904 | unity_docs | scripting | What is `Ping.ctor` in Unity? Explain its purpose and usage. | Ping Constructor
Declaration
public
Ping
(string
address
);
Description
Perform a ping to the supplied target IP address.
This does not perform DNS lookups on host names so it only
accepts IP addresses in dot notation. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_219a0045293d | unity_docs | scripting | What is `LODGroup.SetLODs` in Unity? Explain its purpose and usage. | LODGroup.SetLODs
Declaration
public void
SetLODs
(LOD[]
lods
);
Parameters
Parameter
Description
lods
The LODs to use for this group.
Description
Set the LODs for the LOD group. This will remove any existing LODs configured on the LODGroup.
```csharp
using UnityEngine;
using System.Collections;public cla... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_e57473c18c10 | unity_docs | scripting | Show me a Unity code example for 'Create and use a source generator'. | t for use in your Unity project:
In Visual Studio, create a C# class library project that targets .NET Standard 2.0 and name the project
ExampleSourceGenerator
.
Install the
Microsoft.CodeAnalysis.Csharp
NuGet package for the project. Your source generator must use
Microsoft.CodeAnalysis.Csharp 4.3
to work with Unity.
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_c700e487a758 | unity_docs | rendering | Show me a Unity code example for 'Set a shader to require a package'. | the ranges. For example
"unity": "[6000.0,6000.1];[6000.3,6000.4]"
.
## Example
The following shader compiles only if the project has the
com.my.package
package installed with a version of 2.2 or higher. The shader pass compiles only if the project has both the Universal
Render Pipeline
package with a version between... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_d066d65412da | unity_docs | rendering | What is `LightmapBakeType` in Unity? Explain its purpose and usage. | LightmapBakeType
enumeration
Description
Enum describing what part of a light contribution can be baked.
Properties
Property
Description
Realtime
Real-time lights cast run time light and shadows. They can change position, orientation, color, brightness, and many other properties at run time. No lighting gets ba... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_aaeec0f6e17e | unity_docs | rendering | Explain 'Static GameObjects' in Unity. | If a GameObject does not move at runtime, it is known as a
static GameObject
. If a GameObject moves at runtime, it is known as a
dynamic GameObject
.
Many systems in Unity can precompute information about static GameObjects in the Editor. Because the GameObjects do not move, the results of these calculations are still... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_255680eefeb5 | github | scripting | Write a Unity Editor script for Lynx Menu Preprocess | ```csharp
using UnityEditor.Build;
using UnityEditor.Build.Reporting;
using UnityEngine;
namespace Lynx
{
public class LynxMenuPreprocess : IPreprocessBuildWithReport
{
public int callbackOrder { get { return 0; } }
public void OnPreprocessBuild(BuildReport report)
{
if (Ly... | You are an experienced Unity developer specializing in C# scripting, XR/VR development, and performance optimization. |
local_man_e3462007f5ef | unity_docs | rendering | Explain 'Introduction to Gate Fit' in Unity. | The Camera component’s
Gate Fit
property determines what happens when the Game view and the physical camera sensor have different
aspect ratios
.
In
Physical Camera
mode, a camera has two “gates.”
The area rendered in the Game view, according to the resolution you set in the Aspect drop-down menu, is called the “resolu... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_3a125d3f2248 | unity_docs | rendering | What is `TextureFormat.RG32` in Unity? Explain its purpose and usage. | TextureFormat.RG32
Description
Two channel (RG) texture format, 16-bits unsigned integer per channel.
Note that not all graphics cards support all texture formats, use
SystemInfo.SupportsTextureFormat
to check.
Additional resources:
Texture2D.format
,
texture assets
. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_49156e3fcd69 | unity_docs | ui | What is `UIElements.UsageHints.DynamicColor` in Unity? Explain its purpose and usage. | UsageHints.DynamicColor
Description
Optimizes rendering of a
VisualElement
for frequent color changes, such as a built-in style color being animated.
This option fetches color from a GPU buffer to prevent re-tessellating geometry or CPU updates when colors change. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_0a4c69f479f4 | unity_docs | rendering | What is `Renderer.isLOD0` in Unity? Explain its purpose and usage. | Renderer.isLOD0
public bool
isLOD0
;
Description
Is the renderer the first LOD level in its group.
Returns true if the renderer is part of a LOD group and is the LOD 0. If the renderer is not part of a LOD Group this method returns true. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9229cbf13baa | unity_docs | scripting | Show me a Unity C# example demonstrating `UIElements.VisualTreeAsset`. | An instance of this class holds a tree of
VisualElementAsset's
, created from a UXML file. Each node in the file corresponds to a
VisualElementAsset
. You can clone a
VisualTreeAsset
to create a tree of
VisualElement's
.
Note
: You can't generate a
VisualTreeAsset
from raw UXML at runtime.
The following ex... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_cea04ca53f09 | unity_docs | rendering | Show me a Unity code example for 'Single color shader example in the Built-In Render Pipeline'. | ```
Shader "Unlit/SingleColor"
{
Properties
{
// Color property for material inspector, default to white
_Color ("Main Color", Color) = (1,1,1,1)
}
SubShader
{
Pass
{
HLSLPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
// vertex shader
// this time instead of using "appdata" ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_832488528fdc | unity_docs | rendering | Show me a Unity C# example demonstrating `Light.layerShadowCullDistances`. | the effective shadow culling distance for that layer will be the smallest of those two distances. For layer indices where one of the values are zero, the other value gets used directly, and for layer indices where both values are zero, no special culling behaviour gets applied for that layer.
Only works with
Direction... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_539b3ee40e17 | unity_docs | rendering | In Unity's 'Organizing assets into AssetBundles', what is 'AssetBundle variants' and how does it work? | You can use AssetBundle variants to create multiple versions of an AssetBundle optimized for different situations or configurations, such as varying graphics settings. For example, you can create variants for low, medium, and high resolution textures to support devices with varying performance capabilities or user-sele... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_98f35b119808 | unity_docs | rendering | What is `Experimental.GlobalIllumination.RectangleLight.indirectColor` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
RectangleLight.indirectColor
public
Experimental.GlobalIllumination.LinearColor
indirectColor
;
Description
The indirect light color. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_00f92c79f9d9_doc_0 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Monobehaviour wrapper
Signature:
```csharp
public abstract class ExposedMonoBehaviour : MonoBehaviour
``` | You are a senior Unity engineer. Answer questions about Unity scripting, XR/VR development, and game systems with working code examples. |
local_sr_85e6785f3d88 | unity_docs | scripting | What is `ObjectFactory.componentWasAdded` in Unity? Explain its purpose and usage. | ObjectFactory.componentWasAdded
Parameters
Parameter
Description
value
The callback to be added to the invocation list.
Description
This is invoked every time a new Component or MonoBehaviour is added to a GameObject using the ObjectFactory. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e22a9866c25e | unity_docs | scripting | What is `HDROutputSettings.main` in Unity? Explain its purpose and usage. | HDROutputSettings.main
public static
HDROutputSettings
main
;
Description
The
HDROutputSettings
for the main display.
Synonymous with HDROutputSettings.displays[0]. Use this member to access the HDROutputSettings for the primary display.
Additional resources:
HDROutputSettings.displays
. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_0b035832b2ec | unity_docs | rendering | What is `LightingSettings.realtimeEnvironmentLighting` in Unity? Explain its purpose and usage. | LightingSettings.realtimeEnvironmentLighting
public bool
realtimeEnvironmentLighting
;
Description
Determines the lightmap that Unity stores environment lighting in.
Use this option to specify which type of lightmap contains the environment lighting, when your Scene uses both the Baked Global Illumination syst... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_07c384ceb885 | unity_docs | scripting | What is `UIElements.VisualElement` in Unity? Explain its purpose and usage. | VisualElement
class in
UnityEngine.UIElements
/
Inherits from:
UIElements.Focusable
/
Implemented in:
UnityEngine.UIElementsModule
Implements interfaces:
IExperimentalFeatures
,
IResolvedStyle
,
ITransform
,
ITransitionAnimations
,
IVisualElementScheduler
Description
Base class for objects that are part ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b90b59f2f75f | unity_docs | scripting | What is `Playables.PlayableOutputExtensions.RemoveNotificationReceiver` in Unity? Explain its purpose and usage. | PlayableOutputExtensions.RemoveNotificationReceiver
Declaration
public static void
RemoveNotificationReceiver
(U
output
,
Playables.INotificationReceiver
receiver
);
Parameters
Parameter
Description
output
The target output.
receiver
The receiver to unregister.
Description
Unregisters a receiver on th... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_6ece4512bffa | unity_docs | rendering | In Unity's 'Set up GameObjects for batching', what is 'Get the best results from batching' and how does it work? | To get the best results from batching, do the following:
Share materials among as many GameObjects as possible.
If you have two material assets that are identical apart from their textures, combine the textures into a single, larger texture.
Profile
the performance of your application with batching turned on and off. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_a49ad8ad951a | unity_docs | scripting | What is `Compilation.CompilationPipeline.assemblyCompilationFinished` in Unity? Explain its purpose and usage. | CompilationPipeline.assemblyCompilationFinished
Parameters
Parameter
Description
value
First parameter is the output assembly path. Second parameter are the compiler messages.
Description
An event that is invoked on the main thread when compilation of an assembly finishes.
Compiler messages can be checked to s... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_28d130ab2249 | unity_docs | physics | What is `Search.SearchViewFlags` in Unity? Explain its purpose and usage. | SearchViewFlags
enumeration
Description
Search view flags used to open the Object Picker in various states.
Properties
Property
Description
None
The Search Picker window will be opened using default options.
Debug
The Search Picker window reports debugging information while running queries.
NoIndexing
The Sea... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b11846fc174f | unity_docs | scripting | What is `UIElements.MultiColumnListView` in Unity? Explain its purpose and usage. | MultiColumnListView
class in
UnityEngine.UIElements
/
Inherits from:
UIElements.BaseListView
/
Implemented in:
UnityEngine.UIElementsModule
Description
A list view with multi column support. For more information, refer to
MultiColumnListView
.
Properties
Property
Description
columns
The collection of... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_a150649537d3 | unity_docs | rendering | Explain 'Configuring lightmapping' in Unity. | Resources for choosing between baked and realtime lightmapping, and changing how lightmapping works.
Page Description Configure lightmapping with a Lighting Settings Asset
Create a set of lightmapping settings and assign them to a
scene
.
Change the fade distance of lights with fall-off
Change the rate at which light f... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_5c5f676bfd55 | unity_docs | scripting | What is `SceneManagement.StageHandle.IsValid` in Unity? Explain its purpose and usage. | StageHandle.IsValid
Declaration
public bool
IsValid
();
Returns
bool
True if the stage handle is valid.
Description
Is this stage handle valid?
If the stage no longer exists, the stage handle is not valid. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_a3442d712ec0 | unity_docs | scripting | Explain 'Package management with the scripting API' in Unity. | Use the Package Manager scripting API to interact with the Package Manager through C#
scripts
.
For example, you might want to install a specific package or version of a package depending on the platform of the target device.
Topic Description Scripting API for packages
Learn how you can use C# to manage packages in yo... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9509d511111f | unity_docs | editor | What is `Pool.ObjectPool_1.Release` in Unity? Explain its purpose and usage. | ObjectPool<T0>.Release
Declaration
public void
Release
(T
element
);
Parameters
Parameter
Description
element
The instance to return to the pool.
Description
Returns the instance back to the pool. If the pool has reached maximum size, the returned instance is destroyed.
Calls to
Release
invoke the dele... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_aa3b5aa18cd5 | unity_docs | animation | What is `Tilemaps.Tilemap.SetAnimationTime` in Unity? Explain its purpose and usage. | Tilemap.SetAnimationTime
Declaration
public void
SetAnimationTime
(
Vector3Int
position
,
float
time
);
Parameters
Parameter
Description
position
The grid cell position.
time
The running animation time in seconds.
Description
Sets the running animation time for a Tile at the given position.
Use this t... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_736fc3a08cfa | unity_docs | editor | Show me a Unity C# example demonstrating `AssetDatabase.RefreshSettings`. | ies any changes to the
EditorSettings
properties for the cache server. If not called, then changes to these settings do not take effect until you restart the Editor.
List of the settings that require calling RefreshSettings to be applied:
• EditorSettings.cacheServerNamespacePrefix
• EditorSettings.cacheServerMode... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_995113a953ad | unity_docs | rendering | What is `TextureImporterSwizzle.One` in Unity? Explain its purpose and usage. | TextureImporterSwizzle.One
Description
Use white (a value of one) for the color channel.
Additional resources:
TextureImporter.swizzleR
,
TextureImporter.swizzleG
,
TextureImporter.swizzleB
,
TextureImporter.swizzleA
. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_3c01541e04ea | unity_docs | scripting | What is `XR.MeshGenerationOptions.None` in Unity? Explain its purpose and usage. | MeshGenerationOptions.None
Description
No options are specified.
Used by
XRMeshSubsystem.GenerateMeshAsync
. If the mesh provider supplies a transform and
MeshGenerationOptions
has this value, Unity applies the supplied transform to the vertices of the mesh, and rebakes the physics mesh. If you do not need to p... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f603c61de2ef | unity_docs | scripting | What is `FrameTimingManager.GetGpuTimerFrequency` in Unity? Explain its purpose and usage. | FrameTimingManager.GetGpuTimerFrequency
Declaration
public static ulong
GetGpuTimerFrequency
();
Returns
ulong
GPU timer frequency for current platform.
Description
This returns the frequency of GPU timer on the current platform, used to interpret timing results. If the platform does not support returning ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_05fb473a18ff | unity_docs | physics | Explain 'Create a clean build' in Unity. | By default, Unity creates builds incrementally, however the incremental pipeline can cause caching issues, or incomplete builds. For example, Unity serializes scenes
and assets for the target platform during the build process, and either reuses all content from the previous build, or rebuilds everything. However, this ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2af714d9d2c6 | unity_docs | math | What is `TerrainData.GetInterpolatedHeights` in Unity? Explain its purpose and usage. | TerrainData.GetInterpolatedHeights
Declaration
public float[,]
GetInterpolatedHeights
(float
xBase
,
float
yBase
,
int
xCount
,
int
yCount
,
float
xInterval
,
float
yInterval
);
Parameters
Parameter
Description
xBase
The base x coordinate.
yBase
The base y coordinate.
xCount
The number of queries al... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_847260f4fff2 | unity_docs | animation | What is `Animations.PropertySceneHandle.Resolve` in Unity? Explain its purpose and usage. | PropertySceneHandle.Resolve
Declaration
public void
Resolve
(
Animations.AnimationStream
stream
);
Parameters
Parameter
Description
stream
The
AnimationStream
managing this handle.
Description
Resolves the handle.
Handles are lazily resolved as they're accessed, but in order to prevent unwanted CPU spi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_f4ea0d0a332d | unity_docs | ui | Explain 'Introduction to IL2CPP' in Unity. | IL2CPP (Intermediate Language To C++) is Unity’s custom, ahead-of-time (AOT) scripting back end, which was originally developed for platforms that don’t support Mono and just-in-time (JIT) compilation, such as iOS.
IL2CPP
converts IL (
Intermediate Language
) to C++, and compiles it into platform-specific native code, ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_c9b30718239d_doc_0 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | The gap in cell count before stopping to consider a Tile in a Group
Signature:
```csharp
public Vector3Int gap
``` | You are an experienced Unity developer specializing in C# scripting, XR/VR development, and performance optimization. |
local_man_1c819c1a9982 | unity_docs | ui | Explain 'Install and use an existing analyzer or source generator' in Unity. | This example uses the
ErrorProne.NET.CoreAnalyzers
library to demonstrate how to install code analyzers or source generators from NuGet:
Download the library as a .zip file with the
Download package
button.
Extract the contents of the .zip file.
Inside the extracted folder, locate the .dll files that contain the analyz... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_5411f8393df2 | unity_docs | rendering | In Unity's 'Introduction to textures', what is 'Terminology' and how does it work? | This page uses the following terminology:
Bits per pixel (bpp)
is the amount of storage required for a single texture pixel. Textures with a lower bpp value have a smaller size on disk and in memory. A lower bpp value also means that the GPU can store more pixels in its cache, which results in faster texture access.
LD... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f74e724b627f | unity_docs | editor | What is `EditorCurveBinding` in Unity? Explain its purpose and usage. | EditorCurveBinding
struct in
UnityEditor
Description
Defines how a curve is attached to an object that it controls.
Properties
Property
Description
isDiscreteCurve
Returns true if the binding is a discrete curve. Returns false otherwise. (Read Only)
isPPtrCurve
Returns true if the binding is an object curve. ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_907cdfafacf9 | unity_docs | networking | What is `Networking.IMultipartFormSection.fileName` in Unity? Explain its purpose and usage. | IMultipartFormSection.fileName
public string
fileName
;
Returns
string
The desired file name of this section, or
null
if this is not a file section.
Description
Returns a string denoting the desired filename of this section on the destination server.
If this property returns a non-null string, then this... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_8a224e9c978d | unity_docs | rendering | In Unity's 'Get started with text', what is 'Style text with UI Builder' and how does it work? | Use UI Builder to style the Toggle text to be bold and italic, and have a font size of
12px
. For more information, see
Style text with USS
.
Double-click
SimpleRuntimeUi.uxml
to open it in UI Builder.
In the Inspector window for the Toggle control, select
Text
.
In the
Font Style
field, select B and
I
.
In the Size fi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e5bb4cf17baf | unity_docs | scripting | Show me a Unity C# example demonstrating `ParticleSystem.LimitVelocityOverLifetimeModule.limitXMultiplier`. | ParticleSystem.LimitVelocityOverLifetimeModule.limitXMultiplier
public float
limitXMultiplier
;
Description
Change the limit multiplier on the x-axis.
Changing this property is more efficient than accessing the entire curve, if you only want to change the overall limit multiplier.
```csharp
using UnityEngine;... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_d05703f76ff7 | unity_docs | scripting | What is `Animations.LookAtConstraint` in Unity? Explain its purpose and usage. | LookAtConstraint
class in
UnityEngine.Animations
/
Inherits from:
Behaviour
/
Implemented in:
UnityEngine.AnimationModule
Implements interfaces:
IConstraint
Description
Constrains the orientation of an object relative to the position of one or more source objects, such that the object is facing the average p... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_a9d8fb6afad6 | unity_docs | scripting | Explain 'Create meshes for text strings' in Unity. | To create meshes for text strings, use the
Text Mesh
component. The Text Mesh
component generates 3D geometry that displays text strings.
Note:
The Text Mesh component has limited functionality. For information on more recent, full-featured ways of displaying text, see
Creating user interfaces (UI)
.
Text Meshes can be... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_be09a7dd194c | unity_docs | editor | In Unity's 'Get started with UI Toolkit', what is 'Create a custom Editor window' and how does it work? | Create a custom Editor window with two labels.
Create a project in Unity Editor with any template.
In the Project window, right-click in the Assets folder, and then select
Create
>
UI Toolkit
>
Editor Window
.
In
UI Toolkit Editor Window Creator
, enter SimpleCustomEditor in the
C
# box.
Keep the UXML checkbox selected... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_308463163a4b | unity_docs | editor | What is `Android.AndroidPluginImporterUtilities` in Unity? Explain its purpose and usage. | AndroidPluginImporterUtilities
class in
UnityEditor.Android
Description
Provides Android specific extension methods for the
PluginImporter
.
Static Methods
Method
Description
GetAndroidCPU
Gets the Android CPU architecture that the plugin supports.
GetAndroidSharedLibraryType
Gets the type of content that th... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_fb052fdaeec5_doc_12 | github | scripting | What does `ConvertColumnEnumerator` do in this Unity script? Explain its purpose and signature. | Convert single column data by header index.
Signature:
```csharp
public static IEnumerable ConvertColumnEnumerator(Type dataType, string csvContent, int headerIndex = 0, char cellSeparator = CSVDataHelper.CommaCharacter, bool supportCellMultiline = true)
``` | You are a senior Unity engineer. Answer questions about Unity scripting, XR/VR development, and game systems with working code examples. |
local_man_ac93433eaf42 | unity_docs | ui | In Unity's 'IMGUI Layout Modes', what is 'Fixed Layout vs Automatic Layout' and how does it work? | There are two different modes you can use to arrange and organize your UI when using the IMGUI system: Fixed and Automatic. Up until now, every IMGUI example provided in this guide has used Fixed Layout. To use Automatic Layout, write GUILayout instead of GUI when calling control functions. You do not have to use one L... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_6376de8d3b8a | unity_docs | scripting | Show me a Unity C# example demonstrating `WaitWhile.ctor`. | on to perform when the
timeout
is reached. Only performed if the predicate fails to return
false
before the maximum time specified.
timeoutMode
Mode in which to measure time to determine
timeout
. Real time by default. Can be set to in-game time, which is scaled according to the value of
Time.timeScale
.
Descr... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e0bb39246ada | unity_docs | editor | What is `Application.persistentDataPath` in Unity? Explain its purpose and usage. | Application.persistentDataPath
public static string
persistentDataPath
;
Description
Contains the path to a persistent data directory (Read-only).
This value is a directory path where you can store data that you want to retain between runs. When you publish on iOS and Android,
persistentDataPath
points to a p... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_b3facba05c1a | unity_docs | scripting | Explain 'Video transcoding' in Unity. | Use video transcoding to convert video files between different formats.
Topic Description Introduction to video transcoding
Learn about video transcoding in Unity.
Transcode your video files
Follow these steps to learn how to transcode your video files. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_13b223e88b0b | unity_docs | physics | What is `PhysicsShapeType2D.Edges` in Unity? Explain its purpose and usage. | PhysicsShapeType2D.Edges
Description
Use multiple edges to interpret the
PhysicsShape2D
geometry.
An edge geometry type is comprised of an unlimited quantity of vertices in the
PhysicsShape2D
and a
PhysicsShape2D.radius
. The vertices represent the consecutive edges where each vertex connects to the next verte... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_67d3c5e3b7ac | unity_docs | scripting | What is `Search.QueryEngineFilterAttribute.paramTransformerFunction` in Unity? Explain its purpose and usage. | QueryEngineFilterAttribute.paramTransformerFunction
public string
paramTransformerFunction
;
Description
Name of the parameter transformer function to use with this filter.
Tag the parameter transformer function with the appropriate ParameterTransformer attribute. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2e50094d4740 | unity_docs | audio | What is `AudioSource.clip` in Unity? Explain its purpose and usage. | AudioSource.clip
public
AudioClip
clip
;
Description
The default
AudioClip
to play.
AudioSource
clip
determines the audio clip that should play next.
When you assign a new audio clip to
clip
, the old clip it replaces (if any) stops and is replaced by the new one. However, the new clip doesn't automati... | 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.