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_e294f3ce0db9 | unity_docs | scripting | What is `Device.Screen.sleepTimeout` in Unity? Explain its purpose and usage. | Screen.sleepTimeout
public static int
sleepTimeout
;
Description
This has the same functionality as
Screen.sleepTimeout
. 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_03e0c03bfe97 | unity_docs | input | What is `Unity.Android.Gradle` in Unity? Explain its purpose and usage. | Unity.Android.Gradle
Description
An assembly that contains API to modify Android Gradle Project files.
Classes
Class
Description
Action
The C# definition of the <action> Android Manifest element.
Activity
The C# definition of the <activity> Android Manifest element.
ActivityAlias
The C# definition of the <acti... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_dbbe7fcc6674 | unity_docs | xr | What is `QualitySettings.activeColorSpace` in Unity? Explain its purpose and usage. | QualitySettings.activeColorSpace
public static
ColorSpace
activeColorSpace
;
Description
Active color space (Read Only).
This is the active color space based on player settings (
PlayerSettings.colorSpace
) and hardware support.
Note that the requested color space might have been different.
Additional resour... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_bafdd726917a | unity_docs | math | What is `TransformUtils.SetInspectorRotation` in Unity? Explain its purpose and usage. | TransformUtils.SetInspectorRotation
Declaration
public static void
SetInspectorRotation
(
Transform
t
,
Vector3
r
);
Parameters
Parameter
Description
t
Transform to set the rotation on.
r
Rotation as it would be set by the Transform Inspector window.
Description
Sets the rotation of a transform as it... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ed152bb6cfa9 | unity_docs | rendering | Give me an overview of the `MeshRenderer` class in Unity. | MeshRenderer
class in
UnityEngine
/
Inherits from:
Renderer
/
Implemented in:
UnityEngine.CoreModule
Description
Renders meshes inserted by the
MeshFilter
or
TextMesh
.
Properties
Property
Description
additionalVertexStreams
Vertex attributes in this mesh will override or add attributes of the primary ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_6d121d4aff92 | unity_docs | physics | In Unity's 'Create rule set files', what is 'Step 2: Reload the project' and how does it work? | After you add the ruleset files to your project, reimport any script that lives in an assembly where the rules should apply. This forces Unity to recompile the assembly using the new ruleset files. After recompilation, two messages will appear in the
Console window
:
Assets\Subfolder\RethrowError.cs(15,19): error ERP02... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_816b32b145f2 | github | scripting | Write a Unity C# MonoBehaviour script called Time Limit | ```csharp
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MBT
{
[AddComponentMenu("")]
[MBTNode("Decorators/Time Limit")]
public class TimeLimit : Decorator, IMonoBehaviourTreeTickListener
{
public FloatReference time = new FloatReference(5f);
p... | You are an experienced Unity developer specializing in C# scripting, XR/VR development, and performance optimization. |
local_man_e04182766f43 | unity_docs | ui | In Unity's 'Customize the grid', what is 'Change the axis that the grid appears on' and how does it work? | If you are in
orthographic mode
(Iso) and align your view with an axis, the Editor chooses to display the grid axis orthogonal to that axis.
To change which axis the grid appears on:
In the
Grid and Snap overlays toolbar
, select the downward facing arrow next to
Toggle grid visibility
(
) to open the
Grid Visual
menu.... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_12d56664114c | unity_docs | scripting | What is `UIElements.Label.ctor` in Unity? Explain its purpose and usage. | Label Constructor
Declaration
public
Label
();
Description
Constructs a Label with no initial text.
Use this constructor with no arguments to create an empty Label.
Declaration
public
Label
(string
text
);
Parameters
Parameter
Description
text
The initial text to be displayed in the Label.
Desc... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b4d5e52b8187 | unity_docs | rendering | What is `Experimental.Rendering.GraphicsStateCollection.runtimePlatform` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
GraphicsStateCollection.runtimePlatform
public
RuntimePlatform
runtimePlatform
;
Description
The platform that the collection is intended to be used with.
The same shader variant and graphics state on different platforms c... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_195ce23289ec | unity_docs | scripting | What is `SceneManagement.Scene.operator_eq` in Unity? Explain its purpose and usage. | Scene.operator ==
public static bool
operator ==
(
SceneManagement.Scene
lhs
,
SceneManagement.Scene
rhs
);
Description
Returns true if the Scenes are equal.
When a scene is loaded into memory, it can be referenced with a Scene struct. The equality operator checks if two Scene structs refer to the same sce... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_e7d0cb14dce8 | unity_docs | rendering | Explain 'Terrain Settings reference' in Unity. | Each Terrain tile has its own settings. If you’re using the built-in Terrain system, you need to change settings for each individual tile. If you’re using the
Terrain Tools package
, you can change all tiles at once.
Tip:
When you create a new tile from an existing one, the new tile inherits most of the settings from i... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_4d72f2800a04 | unity_docs | ui | What is `Experimental.GraphView.StackNode.contentContainer` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
StackNode.contentContainer
public
UIElements.VisualElement
contentContainer
;
Description
The content container of this StackNode. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_bea32c8608d0 | unity_docs | rendering | Explain 'Select the CPU or GPU for baking' in Unity. | To generate baked lightmaps and
Light Probes
, you can choose between two backends for the
Progressive Lightmapper
:
The
Progressive GPU Lightmapper
default backend uses your computer’s GPU and Video Ram (VRAM).
The Progressive CPU Lightmapper backend uses your computer’s CPU and system RAM.
## Hardware and software r... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_428ab351d39c | unity_docs | scripting | What is `AwaitableCompletionSource_1.SetResult` in Unity? Explain its purpose and usage. | AwaitableCompletionSource<T0>.SetResult
Declaration
public void
SetResult
(ref T
value
);
Parameters
Parameter
Description
value
Value to pass to the awaitable continuation.
Description
Raise completion. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_3a42c2f322ff | unity_docs | rendering | Show me a Unity C# example demonstrating `ParticleSystem.LightsModule.range`. | ParticleSystem.LightsModule.range
public
ParticleSystem.MinMaxCurve
range
;
Description
Define a curve to apply custom range scaling to particle Lights.
Additional resources:
MinMaxCurve
.
```csharp
using UnityEngine;
using System.Collections;// For best results, use Deferred Rendering (see Camera settings... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_cb8089b48bc8 | unity_docs | physics | What is `Physics2D.autoSyncTransforms` in Unity? Explain its purpose and usage. | Physics2D.autoSyncTransforms
public static bool
autoSyncTransforms
;
Description
Set whether to automatically sync changes to the
Transform
component with the physics engine.
When a
Transform
component changes, any
Rigidbody2D
or
Collider2D
on that
Transform
or its children may need to be reposition... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_d04b1aa80b39 | unity_docs | rendering | Show me a Unity C# example demonstrating `ParticleSystem.MainModule.startRotationZMultiplier`. | ParticleSystem.MainModule.startRotationZMultiplier
public float
startRotationZMultiplier
;
Description
The initial rotation multiplier of particles around the z-axis when the Particle System first spawns them.
Changing this property is more efficient than accessing the entire curve, if you only want to change ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7b5fb7ff75cc | unity_docs | xr | What is `AudioSpeakerMode.Quad` in Unity? Explain its purpose and usage. | AudioSpeakerMode.Quad
Description
The Quad 4.0 speaker setup which contains four channels.
The Quad 4.0 speaker mode contains four channels:
Front left
Front right
Rear left
Rear right
Channel count is set to 4. You can send different audio to each channel, which can create a more immersive, simple, surround ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b5fadcf2371c | unity_docs | math | What is `Plane` in Unity? Explain its purpose and usage. | Plane
struct in
UnityEngine
/
Implemented in:
UnityEngine.CoreModule
Description
Representation of a plane in 3D space.
A plane is an infinitely large, flat surface that exists in 3D space and divides the space into two halves known as
half-spaces
. It is easy to determine which of the two half-spaces a partic... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_18d893f25482 | unity_docs | math | What is `U2D.SpriteDataAccessExtensions.GetVertexAttribute` in Unity? Explain its purpose and usage. | SpriteDataAccessExtensions.GetVertexAttribute
Declaration
public static NativeSlice<T>
GetVertexAttribute
(
Sprite
sprite
,
Rendering.VertexAttribute
channel
);
Returns
NativeSlice<T>
A read-only list of.
Description
Retrieves a strided accessor to the internal vertex attributes.
This is the only way... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_3fe1ea6a3d3a | unity_docs | animation | In Unity's 'Create a new Animation Clip', what is 'How it fits together' and how does it work? | The above steps automatically set up the components and assets needed to animate a GameObject. It is useful to understand how these components, clips, and assets connect together:
A GameObject must have an Animator component
The Animator component must have an
Animator Controller
Asset assigned
The Animator Controller ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_2e63f1dad102 | unity_docs | rendering | Explain 'Modify source assets from code' in Unity. | You can modify assets from your runtime code. Depending on the asset type and method you use, the modifications can either be temporary or permanent. Temporary modifications reset on exiting Play mode, and permanent modifications persist on exiting Play mode.
## Temporary modification
Modifications to assets at appli... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_d80acde2a66d | unity_docs | ui | Show me a Unity C# example demonstrating `ScriptableWizard.OnWizardOtherButton`. | ScriptableWizard.OnWizardOtherButton()
Description
Allows you to provide an action when the user clicks on the other button.
This is the place where you can implement all the stuff that will
be done if the user clicks the secondary option when calling DisplayWizard.
Additional resources:
ScriptableWizard.DisplayWi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_fade29cfdab7 | unity_docs | scripting | What is `PlayerSettings.VisionOS.buildNumber` in Unity? Explain its purpose and usage. | PlayerSettings.VisionOS.buildNumber
public static string
buildNumber
;
Description
The build number of the bundle
It is saved to the 'CFBundleVersion' field in the built app's info.plist file. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_107d73d4d093 | unity_docs | editor | What are the parameters of `iOS.Xcode.PBXProject.AddFrameworkToProject` in Unity? | Description Adds a system framework dependency for the specified target. The function assumes system frameworks are located in the System/Library/Frameworks folder in the SDK source tree. The framework is added to Frameworks logical folder in the project. ```csharp
using System.IO;
using UnityEngine;
using UnityEditor;... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_775bf781f268_doc_2 | github | scripting | What does `RenderCustomInspector` do in this Unity script? Explain its purpose and signature. | Render the custom inspector with the basic and advanced properties
Signature:
```csharp
private void RenderCustomInspector()
``` | You are an expert Unity game developer. Provide clear, accurate, and practical answers about Unity development. |
local_man_71f05747d48e | unity_docs | rendering | In Unity's 'Embedded dependencies', what is 'Copying a Unity package from the cache' and how does it work? | A package installed from a registry is immutable , which means you can’t edit it. If you want to edit a package, you can make it mutable by copying it to the Packages subfolder in your Projects folder. This package type is called an embedded package, and it overrides what’s in your package cache. Later, you can delete ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_29e20ad60668 | unity_docs | editor | What is `HandleUtility.PickGameObject` in Unity? Explain its purpose and usage. | HandleUtility.PickGameObject
Declaration
public static
GameObject
PickGameObject
(
Vector2
position
,
out int
materialIndex
);
Declaration
public static
GameObject
PickGameObject
(
Vector2
position
,
GameObject[]
ignore
,
out int
materialIndex
);
Declaration
public static
GameObject
PickGameObje... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_73260230dbe3 | unity_docs | scripting | In Unity's 'Best practices for calling Java/Kotlin code', what is 'Manage garbage collection' and how does it work? | It’s best practice to wrap any instance of AndroidJavaObject or AndroidJavaClass with a using statement to ensure Unity destroys them as soon as possible. If you don’t use using , Unity’s
garbage collector
will still release all created instances, but you lose control over when this happens.
The following code example ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ef5f33068bc3 | unity_docs | editor | What is `AssetDatabase.GetCacheServerEnableUpload` in Unity? Explain its purpose and usage. | AssetDatabase.GetCacheServerEnableUpload
Declaration
public static bool
GetCacheServerEnableUpload
();
Returns
bool
Returns true when Upload to the Cache Server is enabled. Returns false otherwise.
Description
Gets the Cache Server Upload option from Editor Settings.
```csharp
using UnityEngine;
using Uni... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_2873656c57c0 | unity_docs | ui | In Unity's 'Prefab instance Inspector reference', what is 'Overrides' and how does it work? | Opens the Overrides dropdown window which displays any overrides of the prefab instance. Use this window to apply overrides from the instance to the prefab asset, or revert overrides on the instance back to the values on the prefab asset. The Overrides window is only available for the root prefab instances, and not
nes... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_7e594682a93d | github | scripting | Write a Unity Editor script for Path Box Element | ```csharp
using System.Collections.Generic;
using System.IO;
using System.Linq;
using AssetStoreTools.Utility;
using AssetStoreTools.Validator.Data;
using UnityEditor;
using UnityEngine;
using UnityEngine.UIElements;
namespace AssetStoreTools.Validator.UIElements
{
internal class PathBoxElement : VisualElement
... | You are an expert Unity game developer. Provide clear, accurate, and practical answers about Unity development. |
local_sr_0677a6870c5e | unity_docs | editor | What is `Search.SearchExpression` in Unity? Explain its purpose and usage. | SearchExpression
class in
UnityEditor.Search
Description
Search expressions allow you to add to the search query language to express complex queries that cross-reference multiple providers, for example, to search for all objects in a scene that use a shader that doesn’t compile.
Search expressions can be chained t... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_1c829e7f77bf | unity_docs | physics | What is `WheelCollider.ResetSprungMasses` in Unity? Explain its purpose and usage. | WheelCollider.ResetSprungMasses
Declaration
public void
ResetSprungMasses
();
Description
Reset the sprung masses of the vehicle.
Recomputes the sprung masses of all wheels of the vehicle this wheel belongs to. In addition, it clears the internal explicit sprung mass distribution flag if that was raised before... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_84a21af26cdd | unity_docs | physics | What is `HingeJoint2D.useConnectedAnchor` in Unity? Explain its purpose and usage. | HingeJoint2D.useConnectedAnchor
public bool
useConnectedAnchor
;
Description
Controls whether the connected anchor is used or not.
By default, this property is enabled which results in the
Joint2D.connectedBody
and
AnchoredJoint2D.connectedAnchor
properties being used to constrain the position of the
Rigid... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_cd1cb859d48c | unity_docs | rendering | What is `Rendering.BuiltinShaderDefine.UNITY_SPECCUBE_BOX_PROJECTION` in Unity? Explain its purpose and usage. | BuiltinShaderDefine.UNITY_SPECCUBE_BOX_PROJECTION
Description
UNITY_SPECCUBE_BLENDING is set if Reflection Probes Box Projection is enabled.
Additional resources:
TierSettings.reflectionProbeBoxProjection
. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_dc81152e5a2a | unity_docs | editor | Show me a Unity C# example demonstrating `ObjectNames.NicifyVariableName`. | ObjectNames.NicifyVariableName
Declaration
public static string
NicifyVariableName
(string
name
);
Description
Make a displayable name for a variable.
This function will insert spaces before capital letters and remove optional
m_
,
_
or
k
followed by uppercase letter in front of the name.
```csharp
using... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_adfa6790d97a | unity_docs | editor | What is `SearchService.SceneSearchEngineAttribute` in Unity? Explain its purpose and usage. | SceneSearchEngineAttribute
class in
UnityEditor.SearchService
Description
A class attribute that registers Scene search engines automatically. Search engines with this attribute must implement the
ISceneSearchEngine
interface. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_1de8b6bb8505_doc_0 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | CustomSampler を using で使用できるようにするクラス
Signature:
```csharp
public sealed class CustomSamplerScope : IDisposable
``` | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_287522e27b32 | unity_docs | editor | What is `EditorGUI.PasswordField` in Unity? Explain its purpose and usage. | EditorGUI.PasswordField
Declaration
public static string
PasswordField
(
Rect
position
,
string
password
,
GUIStyle
style
= EditorStyles.textField);
Declaration
public static string
PasswordField
(
Rect
position
,
string
label
,
string
password
,
GUIStyle
style
= EditorStyles.textField);
Declar... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_c1e66ade187c | unity_docs | scripting | What is `IExposedPropertyTable.SetReferenceValue` in Unity? Explain its purpose and usage. | IExposedPropertyTable.SetReferenceValue
Declaration
public void
SetReferenceValue
(
PropertyName
id
,
Object
value
);
Parameters
Parameter
Description
id
Identifier of the ExposedReference.
value
The value to assigned to the ExposedReference.
Description
Assigns a value for an ExposedReference. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_bf865293416e | unity_docs | scripting | What is `GridLayout.CellToWorld` in Unity? Explain its purpose and usage. | GridLayout.CellToWorld
Declaration
public
Vector3
CellToWorld
(
Vector3Int
cellPosition
);
Parameters
Parameter
Description
cellPosition
Cell position to convert.
Returns
Vector3
World position of the cell position.
Description
Converts a cell position to world position space.
```csharp
// Snap t... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_63424fa1b158 | unity_docs | performance | Explain 'Collections' in Unity. | com.unity.collections
## Description
A C# collections library providing data structures that can be used in jobs, and optimized by Burst compiler.
## Released for Unity
Package version 2.6.5 is released for Unity Editor version 6000.0. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_642ee439a6fb | unity_docs | scripting | What is `Experimental.Rendering.GraphicsFormat.A2B10G10R10_SIntPack32` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
GraphicsFormat.A2B10G10R10_SIntPack32
Description
A four-component, 32-bit packed signed integer format that has a 2-bit A component in bits 30..31, a 10-bit B component in bits 20..29, a 10-bit G component in bits 10..19, and a ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_50d8c74c0f17 | unity_docs | scripting | What is `Transform.localRotation` in Unity? Explain its purpose and usage. | Transform.localRotation
public
Quaternion
localRotation
;
Description
The rotation of the transform relative to the transform rotation of the parent.
Unity stores rotations as Quaternions internally. To rotate an object, use
Transform.Rotate
.
Use
Transform.localEulerAngles
for modifying the rotation as e... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ab39f8150adf | unity_docs | scripting | What is `UIElements.DataBinding.dataSource` in Unity? Explain its purpose and usage. | DataBinding.dataSource
public object
dataSource
;
Description
Object that serves as a local source for the binding, and is particularly useful when the data source is not
part of the UI hierarchy, such as a static localization table. If this object is null, the binding resolves
the data source using its norma... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ebdbb0f8e72d | unity_docs | scripting | Show me a Unity C# example demonstrating `CharacterController.slopeLimit`. | CharacterController.slopeLimit
public float
slopeLimit
;
Description
The character controllers slope limit in degrees.
```csharp
using UnityEngine;public class Example : MonoBehaviour
{
// Set the controller slope limit to 45 degrees
CharacterController controller; void Start()
{
controller = GetComponent<... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_d35333d1dcce_doc_3 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Subscribes to a GameProperty, and handles all relevant responsibilities, i.e. automatically suspends subscription while the GameObject is disabled.The GameProperty to subscribe to.The method to be called when the change notification event fires.'Push' means the current value will be instantly sent when the GameObject b... | You are an experienced Unity developer specializing in C# scripting, XR/VR development, and performance optimization. |
local_sr_065e7414004d | unity_docs | animation | Give me an overview of the `AnimationUpdateMode` class in Unity. | AnimationUpdateMode
enumeration
Description
The update mode of the Animation component.
Properties
Property
Description
Normal
Animation updates in the Update loop.
Fixed
Animation updates in the FixedUpdate loop. Use this mode to evaluate animation independent of frame rate. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_497dad9ab858 | unity_docs | xr | Show me a Unity C# example demonstrating `Rendering.GraphicsSettings.allConfiguredRenderPipelines`. | r the current quality level is defined in
QualitySettings.renderPipeline
, or you can request the override value for a given quality level with
QualitySettings.GetRenderPipelineAssetAt
.
This property returns all instances of
RenderPipelineAsset
that are assigned to these fields. The same
RenderPipelineAsset
can ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_a03c75193c96 | unity_docs | scripting | What is `Unity.Properties.IListPropertyVisitor` in Unity? Explain its purpose and usage. | IListPropertyVisitor
interface in
Unity.Properties
Description
Interface for receiving strongly typed property callbacks for lists.
Public Methods
Method
Description
Visit
Implement this method to accept visitation for a specialized list property. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_5b37c05ad27e | unity_docs | rendering | Explain 'Drawing to textures with shaders via Custom Render Textures' in Unity. | Resources for creating complex effects by rendering a texture with a
shader
.
Page Description Create a Custom Render Texture
Assign a compatible material to a Custom
Render Texture
, and chain Custom Render Textures to generate a simulation with multiple steps.
Introduction to Custom Render Textures
Learn about render... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_3fb0c8858133 | unity_docs | rendering | What is `Rendering.CommandBuffer.UnmarkLateLatchMatrix` in Unity? Explain its purpose and usage. | CommandBuffer.UnmarkLateLatchMatrix
Declaration
public void
UnmarkLateLatchMatrix
(
Rendering.CameraLateLatchMatrixType
matrixPropertyType
);
Parameters
Parameter
Description
matrixPropertyType
Camera matrix property type to be unmarked for late latching.
Description
Unmark a global shader property for la... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7d3beb57abc8 | unity_docs | editor | What is `Search.SearchIndexer.GetMetaInfo` in Unity? Explain its purpose and usage. | SearchIndexer.GetMetaInfo
Declaration
public string
GetMetaInfo
(string
documentId
);
Parameters
Parameter
Description
documentId
Document id of the document.
Returns
string
Metadata of the document.
Description
Get metadata of a specific document.
```csharp
using System.IO;
using UnityEditor;
using... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_76ce617d138b | unity_docs | scripting | What are the parameters of `Vector3.SmoothDamp` in Unity? | Description Gradually changes a vector towards a desired goal over time. The vector is smoothed by a spring-like damper function, such that the speed slows as it nears the target position. The motion doesn't overshoot the target position. A common use of this method is smoothing the motion of a follow camera. ```csharp... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_db291c69dc96 | unity_docs | performance | What is `Unity.Collections.LowLevel.Unsafe.NativeDisableUnsafePtrRestrictionAttribute` in Unity? Explain its purpose and usage. | NativeDisableUnsafePtrRestrictionAttribute
class in
Unity.Collections.LowLevel.Unsafe
/
Implemented in:
UnityEngine.CoreModule
Description
Enable the use of unsafe pointers in jobs.
By default, unsafe pointers aren't allowed in jobs because it isn't possible for the Job Debugger to gurantee race condition free ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_d427d8da2e62 | unity_docs | math | What is `Matrix4x4.Translate` in Unity? Explain its purpose and usage. | Matrix4x4.Translate
Declaration
public static
Matrix4x4
Translate
(
Vector3
vector
);
Description
Creates a translation matrix.
```csharp
// Translate, rotate and scale a mesh. Try varying
// the parameters in the inspector while running
// to see the effect they have.using UnityEngine;
using System.Collect... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_4900618e8f31 | unity_docs | rendering | Explain 'Windows Player settings' in Unity. | This page details the Player settings specific to Windows. For a description of the general Player settings, refer to
Player Settings
.
You can find documentation for the properties in the following sections:
Icon
Resolution and Presentation
Splash Image
Other Settings
## Icon
Enable the
Override for Windows, Mac, Li... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_1546d48b5d55 | unity_docs | scripting | What is `AnimatorOverrideController.ctor` in Unity? Explain its purpose and usage. | AnimatorOverrideController Constructor
Declaration
public
AnimatorOverrideController
();
Description
Creates an empty Animator Override Controller.
Declaration
public
AnimatorOverrideController
(
RuntimeAnimatorController
controller
);
Parameters
Parameter
Description
controller
Runtime Animator Contr... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_598a710af0a7 | unity_docs | rendering | Give me an overview of the `ParticleSystemAnimationRowMode` class in Unity. | ParticleSystemAnimationRowMode
enumeration
Description
The mode used for selecting rows of an animation in the Texture Sheet Animation Module.
Properties
Property
Description
Custom
Use a specific row for all particles.
Random
Use a random row for each particle.
MeshIndex
Use the mesh index as the row, so tha... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e68964b582a9 | unity_docs | editor | Show me a Unity C# example demonstrating `AssetDatabase.ExtractAsset`. | as a Material) by extracting it from within an imported asset (such as an FBX file).
NOTE:
The feature is currently only available for materials embedded in model assets.
All file paths are relative to the project folder. For example: "Assets/Materials/myMaterial.mat".
Method throws
ArgumentNullException
when the A... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_5867168e76d0 | unity_docs | scripting | Show me a Unity code example for 'Introduction to SerializedObject data binding'. | d an InspectorElement after it has been constructed, you must call
Unbind()
and then either call
Bind()
explicitly or let a bind operation from a parent create a binding.
## Set binding path
If you call
Bind()
to create the binding, you must set the visual element’s binding path to the property name of the object tha... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_ac4475661729_doc_6 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Represents an object which can be initialized using six arguments.-derived classes that implement this interface can be instantiated with arguments using the function.-derived classes that implement this interface can be added to a with arguments using the GameObject.AddComponent function.These functions can automatica... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_59b3f75dd4c6 | unity_docs | math | What is `Experimental.GraphView.Placemat.MinSizePolicy.DoNotEnsureMinSize` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
Placemat.MinSizePolicy.DoNotEnsureMinSize
Description
Ignore the placemat minimum size when calculating the bounds. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_fa8ac8926d84 | unity_docs | rendering | What is `LightingSettings.filteringAtrousPositionSigmaDirect` in Unity? Explain its purpose and usage. | LightingSettings.filteringAtrousPositionSigmaDirect
public float
filteringAtrousPositionSigmaDirect
;
Description
Specifies the threshold the Progressive Lightmapper uses to filter the indirect lighting component of the lightmap when using the A-Trous filter. (Editor only).
The range is 0 through 2. The defaul... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_d38d5e3a4f35 | unity_docs | rendering | What is `Rendering.TextureDimension` in Unity? Explain its purpose and usage. | TextureDimension
enumeration
Description
Texture "dimension" (type).
Indicates type of a texture (2D texture, cubemap, 3D volume texture etc.).
Additional resources:
Texture.dimension
,
MaterialProperty.textureDimension
.
Properties
Property
Description
Unknown
Texture type is not initialized or unknown.
No... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_fa356fb96615 | unity_docs | rendering | Show me a Unity code example for 'Set the render pipeline and render order for a shader'. | To set the
render pipeline
and render order for a subshader or a shader pass, add a Tag block.
## Add a tag
Add a Tag block to a SubShader block or a Pass block. For example:
```
Shader "TagsExample"
{
SubShader
{
// Add a subshader tag
Tags { "TagName" = "Value" }
Pass
{
// Add a pass tag
Tags { "TagName" ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_2a47b007b500 | unity_docs | rendering | In Unity's 'Troubleshooting cameras', what is 'Resolution' and how does it work? | To reduce tearing, go to
Edit
>
Project Settings
>
Quality
, then set
VSync Count
to one of the following:
Every V Blank
to send frames only during the periods when the display device isn’t updating, which is called its vertical blank.
Every Second V Blanks
to send frames during every other vertical blank. Use this val... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2893a81ffb22 | unity_docs | ui | What is `UIElements.ToggleButtonGroup.allowEmptySelection` in Unity? Explain its purpose and usage. | ToggleButtonGroup.allowEmptySelection
public bool
allowEmptySelection
;
Description
Allows having all buttons to be unchecked when set to true.
When the property value is false, the control will automatically set the first available button to checked. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e49483da53ac | unity_docs | scripting | What is `Search.SearchContext.SetFilter` in Unity? Explain its purpose and usage. | SearchContext.SetFilter
Declaration
public void
SetFilter
(string
providerId
,
bool
isEnabled
);
Parameters
Parameter
Description
providerId
ID of the search provider. See SearchProvider.name.id.
isEnabled
If true, enables the search provider to perform a query.
Description
Enables or disables a single ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_56f6a8d8c857_doc_1 | github | scripting | What does `RegisterAnimationClips` do in this Unity script? Explain its purpose and signature. | Register animations clips in Animation component.Unfortunately this has to be done, because setting the default clip doesn't add it automatically.
Signature:
```csharp
private void RegisterAnimationClips()
``` | You are an expert Unity game developer. Provide clear, accurate, and practical answers about Unity development. |
local_sr_3efa0dc4e8a5 | unity_docs | rendering | Show me a Unity C# example demonstrating `ParticleSystem.TriggerSubEmitter`. | ParticleSystem.TriggerSubEmitter
Declaration
public void
TriggerSubEmitter
(int
subEmitterIndex
);
Parameters
Parameter
Description
subEmitterIndex
Index of the sub emitter to trigger.
Description
Triggers the specified sub emitter on all particles of the Particle System.
```csharp
using UnityEngine;// A... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_dc99f1baabdf | unity_docs | scripting | What is `UIElements.BaseListView.emptyLabelUssClassName` in Unity? Explain its purpose and usage. | BaseListView.emptyLabelUssClassName
public static string
emptyLabelUssClassName
;
Description
The USS class name for label displayed when ListView is empty.
Unity adds this USS class to the label displayed if the ListView is empty. Any styling applied to
this class affects every empty label located beside,... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7e8d76b73d18 | unity_docs | scripting | Show me a Unity C# example demonstrating `MonoBehaviour.Update`. | MonoBehaviour.Update()
Description
Update is called every frame, if the MonoBehaviour is enabled.
Update
is the most commonly used function to implement any kind of game script.
Not every
MonoBehaviour
script needs
Update
.
```csharp
using UnityEngine;
using System.Collections;// The ExampleClass starts wi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b19e378488b8 | unity_docs | math | What is `SerializedProperty.isExpanded` in Unity? Explain its purpose and usage. | SerializedProperty.isExpanded
public bool
isExpanded
;
Description
Is this property expanded in the inspector?
Serialized properties with child properties (e.g., arrays, custom serializable structs, or custom serializable classes) may be either expanded or folded up in the inspector to reveal or hide their chil... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ea31434ef81f | unity_docs | scripting | What are the parameters of `QualitySettings.activeQualityLevelChanged` in Unity? | Description Delegate that you can use to invoke custom code when Unity changes the current Quality Level. Parameters are the previous Quality Level and the new Quality Level. ```csharp
using UnityEngine;public class ExampleClass : MonoBehaviour
{
void Start()
{
QualitySettings.activeQualityLevelChanged ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_44985f159524 | unity_docs | math | In Unity's 'Property paths', what is 'Performance considerations' and how does it work? | Unity.Properties.PropertyPath
is an immutable struct type. When you construct a property path from a string, allocations occur for sub-string extraction.
The following table lists the allocation behaviors when a property path is constructed from a string:
String Length Allocation behavior
"Path"
1
No allocation: the en... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_400776c26109_doc_2 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Auto instantiate when load game?Use to make this happen.or monified this field by .
Signature:
```csharp
public bool isAutoInstantiation;
``` | You are an expert Unity game developer. Provide clear, accurate, and practical answers about Unity development. |
local_sr_4c5e2d1e1841 | unity_docs | editor | What is `Experimental.GraphView.EdgeDragHelper.HandlePointerMove` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
EdgeDragHelper.HandlePointerMove
Declaration
public void
HandlePointerMove
(
UIElements.PointerMoveEvent
evt
);
Parameters
Parameter
Description
evt
The pointer move event.
Description
Handles when the pointer moves du... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_05c3b1c80eec | unity_docs | scripting | What is `MonoBehaviour.OnPostRender` in Unity? Explain its purpose and usage. | MonoBehaviour.OnPostRender()
Description
Event function
that Unity calls after a Camera renders the scene.
In the Built-in Render Pipeline, Unity calls
OnPostRender
on MonoBehaviours that are attached to the same GameObject as an enabled
Camera
component, just after that Camera renders the scene. Use
OnPostR... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_aae1990adea1 | unity_docs | math | In Unity's 'Optimize your Web build with WebAssembly 2023', what is 'WebAssembly native exceptions' and how does it work? | In the original WebAssembly MVP
feature set
, exception handling relied on JavaScript exception mechanisms. This form of exception handling resulted in relatively high overhead. Since then, WebAssembly has developed its own native exception handling support that reduces the overhead issue.
If you enable WebAssembly 202... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_34fb28770b1e | unity_docs | physics | What is `ColliderDistance2D.normal` in Unity? Explain its purpose and usage. | ColliderDistance2D.normal
public
Vector2
normal
;
Description
A normalized vector that points from
pointB
to
pointA
.
The normalized vector points from
pointB
to
pointA
. When it is scaled with the
distance
is produces a vector that can be used to move the
Collider2D
so that they are no longer overl... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_a7f79be5f3dc | unity_docs | scripting | In Unity's 'Recommended Player settings to optimize your Web build', what is 'Player settings quick reference' and how does it work? | Find these settings under
Edit
>
Project settings
>
Player
. For more information on each setting, refer to the details in
Player settings
.
Setting
Recommended Setting Description API Compatibility Level.NET Standard 2.1
Produces smaller builds.
IL2CPP Code Generation
Optimize for code size and build time
Generates co... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e7897a318c9f | unity_docs | math | What is `Mathf.Cos` in Unity? Explain its purpose and usage. | Mathf.Cos
Declaration
public static float
Cos
(float
f
);
Parameters
Parameter
Description
f
The input angle, in radians.
Returns
float
The return value between -1 and 1.
Description
Returns the cosine of angle
f
.
Note:
If using very large numbers with this function, there is an acceptable range... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_214f6ec52dbd | unity_docs | editor | Show me a Unity code example for 'Accessing memory counters in players'. | You can use the
ProfilerRecorder API
to access the Memory Profiler module’s counters in a player.
The following example contains a simple script that collects
Total Reserved Memory
,
GC Reserved Memory and System Used Memory
metrics, and displays those as a
GUI.TextArea
. The Memory Profiler module information belongs ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_c33f35235fc2 | unity_docs | editor | In Unity's 'Create custom Editor Windows with IMGUI', what is 'Derive From EditorWindow' and how does it work? | In order to make your Editor Window, your script must be stored inside a folder called “Editor”. Make a class in this script that derives from EditorWindow. Then write your GUI controls in the inner OnGUI function.
```csharp
using UnityEngine;
using UnityEditor;
using System.Collections;
public class Example : EditorW... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_eb15419f4932 | unity_docs | rendering | Explain '2D images for low level of detail (LOD)' in Unity. | Techniques and resources for using 2D billboards to simplify 3D meshes that are far away.
Topic:
Description:
Applying 2D billboards for low LOD meshes
Understand how Unity uses Billboard Renderers and Billboard assets to create a 2D billboard for low-LOD rendering.
Billboard Renderer component reference
Explore the pr... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2fe3ae55408f | unity_docs | math | What is `AssetBundle.GetAllScenePaths` in Unity? Explain its purpose and usage. | AssetBundle.GetAllScenePaths
Declaration
public string[]
GetAllScenePaths
();
Description
Return all the names of Scenes in the AssetBundle.
Only works for streamed Scene AssetBundles, otherwise an empty string array is returned.
The names are the project-relative path of each .unity file, unless a different n... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_5376873b52a8 | unity_docs | scripting | What is `ModelImporterClipAnimation` in Unity? Explain its purpose and usage. | ModelImporterClipAnimation
class in
UnityEditor
Description
Animation clips to split animation into.
Properties
Property
Description
additiveReferencePoseFrame
The additive reference pose frame.
curves
Additionnal curves that will be that will be added during the import process.
cycleOffset
Offset to the cyc... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_3aba4abb974b | unity_docs | rendering | What is `Material.HasColor` in Unity? Explain its purpose and usage. | Material.HasColor
Declaration
public bool
HasColor
(string
name
);
Declaration
public bool
HasColor
(int
nameID
);
Parameters
Parameter
Description
nameID
The name ID of the property. Use
Shader.PropertyToID
to get this ID.
name
The name of the property.
Returns
bool
Returns true if the ShaderL... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_d9c8be2a5cb8 | unity_docs | math | What is `AndroidJNI.CallStaticObjectMethod` in Unity? Explain its purpose and usage. | AndroidJNI.CallStaticObjectMethod
Declaration
public static IntPtr
CallStaticObjectMethod
(IntPtr
clazz
,
IntPtr
methodID
,
jvalue[]
args
);
Description
Invokes the specified
methodID
static method on a Java object, optionally passing in an array of arguments (
args
).
This method returns a reference to a ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_6d77f4893f9a | unity_docs | editor | Show me a Unity C# example demonstrating `SettingsService.OpenUserPreferences`. | s
Declaration
public static
EditorWindow
OpenUserPreferences
(string
settingsPath
);
Parameters
Parameter
Description
settingsPath
Settings path of the item to select (for example, 'Preferences/Keys' or 'Preferences/2D').
Returns
EditorWindow
Returns an instance to the Settings window.
Description
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_f522b91ce703_doc_1 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Represents an object which can receive two arguments as part of its initialization process.-derived classes that implement this interface can be instantiated with their dependency using the function.-derived classes that implement this interface can be added to a function.If the class also implements then these funct... | You are a senior Unity engineer. Answer questions about Unity scripting, XR/VR development, and game systems with working code examples. |
local_sr_5a99b358e7d4 | unity_docs | rendering | What are the parameters of `UIElements.MeshGenerationContext.Allocate` in Unity? | Description Allocates and draws the specified number of vertices and indices required to express geometry for drawing the content of a VisualElement . See Vertex.position for details on geometry generation conventions. If a valid texture was passed, then the returned MeshWriteData will also describe a rectangle for the... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_30cb732d79b9 | unity_docs | editor | Explain 'Modify Gradle project files with the Android Project Configuration Manager' in Unity. | You can use Android Project Configuration Manager to modify the contents of custom gradle project files in your Android project. You cannot modify the contents of the default gradle project files unityLibrary and launcher modules with Android Project Configuration Manager. However, you can create custom modules to set ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_aeb11c10341f | unity_docs | scripting | What is `Vector2.MoveTowards` in Unity? Explain its purpose and usage. | Vector2.MoveTowards
Declaration
public static
Vector2
MoveTowards
(
Vector2
current
,
Vector2
target
,
float
maxDistanceDelta
);
Description
Moves a point
current
towards
target
.
This is essentially the same as
Vector2.Lerp
but instead the function will ensure that the distance never exceeds
maxD... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2ed4756f89b1 | unity_docs | scripting | What is `LightingDataAsset` in Unity? Explain its purpose and usage. | LightingDataAsset
class in
UnityEditor
/
Inherits from:
Object
Description
The lighting data asset used by the active Scene.
Please note that modifying this value currently does not affect the Scene immediately, the lighting data is only patched into the active Scene when loading the Scene.
Constructors
Const... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_68053a473c07 | unity_docs | editor | Explain 'Comparison of the binding systems' in Unity. | The following table compares the SerializedObject data binding and runtime binding:
Comparison
Runtime binding
SerializedObject data binding UI Runtime UI, and Editor UI without serialized data.
Editor UI
Data types
Supports any plain C#
object
as a data source.
Supports only the data types supported by
SerializedPrope... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_c1952f4152fe | unity_docs | rendering | What is `AudioRenderer.Render` in Unity? Explain its purpose and usage. | AudioRenderer.Render
Declaration
public static bool
Render
(NativeArray<float>
buffer
);
Parameters
Parameter
Description
buffer
The buffer to write the sample data to.
Returns
bool
True if the recording succeeded.
Description
Performs the recording of the main output as well as any optional mixer gr... | 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.