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_270a282452fb | unity_docs | xr | What is `Networking.UnityWebRequest.useHttpContinue` in Unity? Explain its purpose and usage. | UnityWebRequest.useHttpContinue
public bool
useHttpContinue
;
Description
Determines whether this UnityWebRequest will include
Expect: 100-Continue
in its outgoing request headers. (Default:
true
).
If this property is set to
true
, then this UnityWebRequest will include an
Expect: 100-Continue
header in ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e2f46f552eb0 | unity_docs | scripting | What is `UIElements.BaseVerticalCollectionView.listScrollViewUssClassName` in Unity? Explain its purpose and usage. | BaseVerticalCollectionView.listScrollViewUssClassName
public static string
listScrollViewUssClassName
;
Description
The USS class name of the scroll view in the BaseVerticalCollectionView.
Unity adds this USS class to the BaseVerticalCollectionView's scroll view. Any styling applied to
this class affects e... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_6e3687948f1c | unity_docs | input | Explain 'Develop for QNX' in Unity. | Find information specific to QNX development, such as
plug-ins
, optional features, and troubleshooting.
Topic Description Autodetect plug-ins for QNX
Detect plug-ins automatically for QNX.
Support touch input for QNX
Support input from touch devices in the QNX Player.
Enable optional features for QNX
Enable optional f... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_5d89659d3f98 | unity_docs | physics | What is `PhysicsVisualizationSettings.SetShowCollisionLayer` in Unity? Explain its purpose and usage. | PhysicsVisualizationSettings.SetShowCollisionLayer
Declaration
public static void
SetShowCollisionLayer
(int
layer
,
bool
show
);
Description
Should the given layer be considered by the display filter.
Additional resources:
Layers
. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7b21f2257695 | unity_docs | rendering | What is `SpriteImportMode` in Unity? Explain its purpose and usage. | SpriteImportMode
enumeration
Description
Texture importer modes for Sprite import.
Properties
Property
Description
None
Graphic is not a Sprite.
Single
Sprite is a single image section extracted automatically from the texture.
Multiple
Sprites are multiple image sections extracted from the texture.
Polygon
S... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_87870fe56eab | unity_docs | ui | In Unity's 'Structure UI with C# scripts', what is 'Change the control value' and how does it work? | To access or change the value of a control, use its value property.
The following example creates a Toggle control and a Button control. When you click the button, the value of the toggle flips.
```
// Create a toggle and register callback
m_MyToggle = new Toggle("Test Toggle") { name = "My Toggle" };
rootVisualElement... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_ed651e616f8e | unity_docs | networking | Explain 'Unity Physics' in Unity. | com.unity.physics
## Description
Unity’s C# stateless physics library.
Built on top of the Unity C# ECS framework, Unity Physics is network-ready, completely customizable, and built for performance out of the box. Whether you’re building the next mobile hit or a new networked multiplayer console experience, Unity Phy... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_5612dcad0e77 | unity_docs | xr | Explain 'Introduction to Verified Solutions' in Unity. | The
Verified Solutions program
is a curated library of high-quality third-party assets and solutions. Unity evaluates and verifies these offerings to ensure they enhance core Unity products and maintain compatibility with commonly used Unity versions.
The Verified Solutions team evaluates your solution in the following... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_24d56a163e85 | unity_docs | scripting | What is `Experimental.GraphView.ISelectable.Overlaps` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
ISelectable.Overlaps
Declaration
public bool
Overlaps
(
Rect
rectangle
);
Parameters
Parameter
Description
rectangle
Rectangle to check.
Returns
bool
True if it overlaps. False otherwise.
Description
Check if sel... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_e0540045473c | unity_docs | physics | In Unity's 'Layer-based collision detection', what is 'Set up layer-based collision detection' and how does it work? | Select the GameObject you want to assign a layer to.
In the Inspector , select the Layer dropdown at the top, and either choose a Layer or add a new Layer. Repeat for each GameObject until you have finished assigning your GameObjects to Layers.
Cube selected in the Inspector, with Layer 1 assigned to it.
In the Unity m... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9220cf75b21e | unity_docs | scripting | What is `Search.SearchMonitorView.TryLoadAlias` in Unity? Explain its purpose and usage. | SearchMonitorView.TryLoadAlias
Declaration
public bool
TryLoadAlias
(
Search.PropertyDatabaseRecordKey
recordKey
,
out string
alias
);
Parameters
Parameter
Description
recordKey
Property key.
alias
Property alias.
Returns
bool
Returns true if the property has an alias.
Description
Gets a property... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_bb904f83437e | unity_docs | scripting | What is `Playables.IPlayableOutput` in Unity? Explain its purpose and usage. | IPlayableOutput
interface in
UnityEngine.Playables
Description
Interface implemented by all C# Playable output implementations.
NOTE: You can use
PlayableOutputExtensions
methods with all objects that implement IPlayableOutput. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_895e9794501b | unity_docs | xr | Give me an overview of the `HDROutputSettings` class in Unity. | HDROutputSettings
class in
UnityEngine
/
Implemented in:
UnityEngine.CoreModule
Description
Provides access to HDR display settings and information.
Static Properties
Property
Description
displays
The list of currently connected displays with possible HDR availability.
main
The HDROutputSettings for the mai... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2afe583f5f92 | unity_docs | scripting | What is `SystemInfo.graphicsDeviceVersion` in Unity? Explain its purpose and usage. | SystemInfo.graphicsDeviceVersion
public static string
graphicsDeviceVersion
;
Description
The graphics API type and driver version used by the graphics device (Read Only).
Returns a string identifying low-level graphics API kind and driver version. In most
cases when you need to detect which graphics API is bei... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_d179a1fe7acb | unity_docs | scripting | Give me an overview of the `IExposedPropertyTable` class in Unity. | IExposedPropertyTable
interface in
UnityEngine
Description
Interface for objects used as resolvers on ExposedReferences.
Public Methods
Method
Description
ClearReferenceValue
Remove a value for the given reference.
GetReferenceValue
Retrieves a value for the given identifier.
SetReferenceValue
Assigns a valu... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_97276dafdb1c | unity_docs | math | What is `Vector2.normalized` in Unity? Explain its purpose and usage. | Vector2.normalized
public
Vector2
normalized
;
Description
Returns a normalized vector based on the current vector. The normalized vector has a
magnitude
of 1 and is in the same direction as the current vector. Returns a zero vector If the current vector is too small to be normalized.
Note that this does no... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_3219737c25fa | unity_docs | scripting | What is `UIElements.RectField.ctor` in Unity? Explain its purpose and usage. | RectField Constructor
Declaration
public
RectField
();
Description
Initializes and returns an instance of RectField.
Declaration
public
RectField
(string
label
);
Parameters
Parameter
Description
label
The text to use as a label.
Description
Initializes and returns an instance of RectField. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_a0b5ed56356b | unity_docs | editor | What is `EditorApplication.delayCall` in Unity? Explain its purpose and usage. | EditorApplication.delayCall
public static
EditorApplication.CallbackFunction
delayCall
;
Description
Delegate which is called once after all inspectors update.
Add functions to this delegate in order to delay their execution until after inspectors have updated. Each function is only executed once after it is ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_018d0e0ccfae | unity_docs | editor | What are the parameters of `ProfilerWindow.SelectedFrameIndexChanged` in Unity? | Description Calls the methods in its invocation list when the Profiler window’s selected frame index changes. The Profiler window’s selected frame index may change for a variety of reasons, such as a new frame being captured, the user selecting a new frame, or a new capture being loaded. ```csharp
using UnityEditor;
us... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_16cf7ee500d9 | unity_docs | scripting | What is `Experimental.GraphView.GraphView.CreatePlacematContainer` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
GraphView.CreatePlacematContainer
Declaration
protected
Experimental.GraphView.PlacematContainer
CreatePlacematContainer
();
Returns
PlacematContainer
Returns the created PlacematContainer.
Description
Override this m... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_661ad37d3cc0 | unity_docs | rendering | Show me a Unity C# example demonstrating `Media.VideoTrackEncoderAttributes`. | VideoTrackEncoderAttributes
struct in
UnityEditor.Media
Description
Descriptor for video track format.
```csharp
using UnityEditor.Media;
using UnityEditor;
using UnityEngine;public class Recorder
{
public VideoTrackEncoderAttributes CreateEncoderAttributes()
{
H264EncoderAttributes h264Attr = new H264EncoderA... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_34f9106ad369 | unity_docs | rendering | What is `Texture2DArray.Apply` in Unity? Explain its purpose and usage. | Texture2DArray.Apply
Declaration
public void
Apply
(bool
updateMipmaps
= true,
bool
makeNoLongerReadable
= false);
Parameters
Parameter
Description
updateMipmaps
When the value is
true
, Unity recalculates mipmap levels, using mipmap level 0 as the source. The default value is
true
.
makeNoLongerReada... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_8a5fb97c7dde | unity_docs | editor | Show me a Unity C# example demonstrating `EditorGUIUtility.ObjectContent`. | EditorGUIUtility.ObjectContent
Declaration
public static
GUIContent
ObjectContent
(
Object
obj
,
Type
type
);
Description
Return a GUIContent object with the name and icon of an Object.
If the object is null, the icon will be picked according to type.
Object Content usage.
```csharp
// Simple Editor Scri... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_a2ee1be61a8f | unity_docs | scripting | Show me a Unity C# example demonstrating `ParticleSystem.ExternalForcesModule.multiplier`. | ParticleSystem.ExternalForcesModule.multiplier
public float
multiplier
;
Description
Multiplies the magnitude of external forces affecting the particles.
Changing this property is more efficient than accessing the entire curve, if you only want to change the overall force multiplier.
```csharp
using UnityEngi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b8f9da23c423 | unity_docs | performance | What is `PlayerSettings.enableOpenGLProfilerGPURecorders` in Unity? Explain its purpose and usage. | PlayerSettings.enableOpenGLProfilerGPURecorders
public static bool
enableOpenGLProfilerGPURecorders
;
Description
Enable
ProfilerRecorder
usage to record GPU timings when rendering with OpenGL.
Always enabled with other rendering APIs. Optional on OpenGL due to potential incompatibility with the GPU Profiler... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_c697db74ce31 | unity_docs | rendering | Explain 'Parallax Bumped Specular' in Unity. | Note.
Unity 5 introduced the
Standard Shader
which replaces this
shader
.
## Parallax Normal mapped Properties
Parallax Normal mapped
is the same as regular
Normal mapped
, but with a better simulation of “depth”. The extra depth effect is achieved through the use of a
Height Map
. The Height Map is contained in the ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_1a4857c883ab | unity_docs | physics | What is `ConfigurableJoint.projectionMode` in Unity? Explain its purpose and usage. | ConfigurableJoint.projectionMode
public
JointProjectionMode
projectionMode
;
Description
Brings violated constraints back into alignment even when the solver fails. Projection is not a physical process and does not preserve momentum or respect collision geometry. It is best avoided if practical, but can be us... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_7e82f0a5ed68 | unity_docs | rendering | What is `Rendering.ShaderPropertyFlags.NoScaleOffset` in Unity? Explain its purpose and usage. | ShaderPropertyFlags.NoScaleOffset
Description
Do not show UV scale/offset fields next to Textures in the default Material Inspector.
This flag is only relevant to Texture shader properties, and only hides the UI for UV scale/offset fields. Unity still serializes the underlying "
YourTexturePropertyName
_ST" vector ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2fb648cedbf6 | unity_docs | performance | Show me a Unity C# example demonstrating `Unity.Jobs.JobHandle.CombineDependencies`. | ativeSlice<JobHandle>
jobs
);
Description
Combines multiple dependencies into a single dependency.
All job schedule methods for
IJob
or
IJobParallelFor
job types take a single dependency. Sometimes you might need to express dependencies
against multiple running jobs at the same time. Use this method to combi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_a51b2d6ea5c8 | unity_docs | rendering | What is `Search.SearchProvider.priority` in Unity? Explain its purpose and usage. | SearchProvider.priority
public int
priority
;
Description
Hint to sort the search provider. Affects the order of search results and the order in which search providers are shown in the FilterWindow.
The lowest priority is first.
```csharp
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.S... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_c54470f0f12f | unity_docs | editor | What is `Search.QueryEngine_1.SetSearchDataCallback` in Unity? Explain its purpose and usage. | QueryEngine<T0>.SetSearchDataCallback
Declaration
public void
SetSearchDataCallback
(Func<TData,IEnumerable<string>>
getSearchDataCallback
);
Declaration
public void
SetSearchDataCallback
(Func<TData,IEnumerable<string>>
getSearchDataCallback
,
stringComparison
stringComparison
);
Parameters
Parameter
De... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_9eeeac12d268 | unity_docs | scripting | Explain 'Decals in the Built-In Render Pipeline' in Unity. | Techniques for using a Projector component to project materials onto other GameObjects in the Built-In
Render Pipeline
.
Page Description Prepare materials for projection
Configure materials correctly for projection by the Projection component, and view examples of this implementation in the Unity Standard Assets.
Proj... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_36ac943de16b | unity_docs | scripting | What is `Input.GetButtonUp` in Unity? Explain its purpose and usage. | Input.GetButtonUp
Declaration
public static bool
GetButtonUp
(string
buttonName
);
Description
Returns true the first frame the user releases the virtual button identified by
buttonName
.
Note
: This API is part of the legacy Input Manager. The recommended best practice is that you don't use this API in new p... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_c8ebaf8b18f1 | unity_docs | physics | In Unity's 'Customize movement constraint with Configurable Joints', what is 'Add elasticity at the joint limits' and how does it work? | You can simulate a spring-like elastic behavior to the joint when it exceeds its limits. To do this, use the spring properties
Linear Limit Spring
for linear movement, and
Angular X/YZ Limit Spring
for rotation. When you set the
Limit Spring
property to a value above zero, the joint does not stop moving when it hits a ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_4651d536814b | unity_docs | rendering | What is `HDROutputSettings.automaticHDRTonemapping` in Unity? Explain its purpose and usage. | HDROutputSettings.automaticHDRTonemapping
public bool
automaticHDRTonemapping
;
Description
Describes whether Unity performs HDR tonemapping automatically.
Set automaticHDRTonemapping to be true to instruct Unity to perform an automatic tonemapping of your final image onto the HDR display buffer immediately bef... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_d7ffd9b0c839 | unity_docs | scripting | Show me a Unity C# example demonstrating `iOS.OnDemandResourcesRequest`. | NOTE:
only available on iOS.
Creating an
OnDemandResourcesRequest
is equivalent to calling
NSBundleResourceRequest.beginAccessingResourcesWithCompletionHandler
. The request will keep the on demand resource alive until either
Dispose
() is called or the request object is collected by a garbage collector, which i... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_d8703c73c66a | unity_docs | scripting | What is `UIElements.BaseTreeView.itemContentContainerUssClassName` in Unity? Explain its purpose and usage. | BaseTreeView.itemContentContainerUssClassName
public static string
itemContentContainerUssClassName
;
Description
The USS class name for TreeView item container elements.
Unity adds this USS class to every item container element of the TreeView. Any styling applied to
this class affects every item located ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b5c5dcac10af | unity_docs | scripting | What is `UIElements.FocusInEvent` in Unity? Explain its purpose and usage. | FocusInEvent
class in
UnityEngine.UIElements
/
Inherits from:
UIElements.FocusEventBase_1
/
Implemented in:
UnityEngine.UIElementsModule
Description
Event sent immediately before an element gains focus. This event trickles down and bubbles up.
Constructors
Constructor
Description
FocusInEvent
Construc... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_012a31de9d23 | unity_docs | performance | What is `Unity.Jobs.IJobParallelForExtensions` in Unity? Explain its purpose and usage. | IJobParallelForExtensions
class in
Unity.Jobs
/
Implemented in:
UnityEngine.CoreModule
Description
Contains extension methods for
IJobParallelFor
job types.
Static Methods
Method
Description
EarlyJobInit
Gathers and caches reflection data for the internal job system's managed bindings.
Run
Performs the jo... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_ab56712134b7 | unity_docs | rendering | Explain 'Platform-specific texture overrides panel reference' in Unity. | To set the size and format of the imported texture, use the platform-specific overrides panel.
## Default tab
The Default tab lets you set the final size and format of the imported texture on all platforms.
Property Description Max Size
Sets the maximum dimensions of the imported texture in
pixels
.
Resize Algorithm
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_409dac809049 | unity_docs | rendering | Explain 'Set a GameObject to use a Light Probe Proxy Volume in the Built-In Render Pipeline' in Unity. | Most of the Renderer components in Unity contain Light Probes. There are three options for Light Probes:
Off
: the Renderer doesn’t use any interpolated Light Probes.
Blend Probes
(default value): the Renderer uses one interpolated Light Probe.
Use Proxy Volume
: the Renderer uses a 3D grid of interpolated Light Probes... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_5bbfbd164a4d | unity_docs | animation | What is `Animations.AnimatorController` in Unity? Explain its purpose and usage. | AnimatorController
class in
UnityEditor.Animations
/
Inherits from:
RuntimeAnimatorController
Description
The Animator Controller controls animation through layers with state machines, controlled by parameters.
```csharp
using UnityEngine;
using UnityEditor;
using UnityEditor.Animations;
using System.Collection... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b4a55766100d | unity_docs | math | What is `Unity.Collections.LowLevel.Unsafe.UnsafeUtility.ReadArrayElement` in Unity? Explain its purpose and usage. | UnsafeUtility.ReadArrayElement
Declaration
public static T
ReadArrayElement
(void*
source
,
int
index
);
Parameters
Parameter
Description
source
Memory pointer.
index
Array index.
Returns
T
Array Element.
Description
Read array element. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_f0c15197b42d | unity_docs | scripting | What is `Rendering.CommandBuffer.SetFoveatedRenderingMode` in Unity? Explain its purpose and usage. | CommandBuffer.SetFoveatedRenderingMode
Declaration
public void
SetFoveatedRenderingMode
(
Rendering.FoveatedRenderingMode
foveatedRenderingMode
);
Parameters
Parameter
Description
foveatedRenderingMode
The mode to set.
Description
Adds a command to set the mode to use for foveated rendering.
Before using... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_1a110860ae73 | unity_docs | audio | Give me an overview of the `AudioSourceCurveType` class in Unity. | AudioSourceCurveType
enumeration
Description
This defines the curve type of the different custom curves that can be queried and set within the AudioSource.
The AudioSource can hold a number of custom distance curves, this enum is used within the AudioSource API to differentiate between them.
Properties
Property
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_73e355af86cb | unity_docs | math | What is `Input.GetJoystickNames` in Unity? Explain its purpose and usage. | Input.GetJoystickNames
Declaration
public static string[]
GetJoystickNames
();
Returns
string[]
Returns an array of joystick and gamepad device names.
Description
Retrieves a list of input device names corresponding to the index of an Axis configured within Input Manager.
Note
: This API is part of the le... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_65fee44d7ec7 | unity_docs | editor | Show me a Unity C# example demonstrating `iOS.Xcode.PBXProject.WriteToStream`. | PBXProject.WriteToStream
Declaration
public void
WriteToStream
(TextWriter
sw
);
Parameters
Parameter
Description
sw
Text writer to write to.
Description
Writes the project contents to the specified text writer.
```csharp
using UnityEditor;
using System.IO;
using UnityEditor.Callbacks;
using UnityEditor.i... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_fb08e2e25763 | unity_docs | scripting | What is `Experimental.Rendering.GraphicsFormat.RGBA_ASTC6X6_UNorm` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
GraphicsFormat.RGBA_ASTC6X6_UNorm
Description
A four-component, ASTC compressed format where each 128-bit compressed texel block encodes a 6×6 rectangle of unsigned normalized RGBA texel data. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_c000364a2034 | unity_docs | physics | What is `ParticleSystem.Particle.totalVelocity` in Unity? Explain its purpose and usage. | ParticleSystem.Particle.totalVelocity
public
Vector3
totalVelocity
;
Description
The total velocity of the particle.
This is calculated as the sum of
ParticleSystem.Particle.velocity
and
ParticleSystem.Particle.animatedVelocity
. Some particle features use the physics-based velocity, and other features us... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_19a1c56c3ac6 | unity_docs | scripting | What is `AssetDatabase.IsMainAsset` in Unity? Explain its purpose and usage. | AssetDatabase.IsMainAsset
Declaration
public static bool
IsMainAsset
(
Object
obj
);
Declaration
public static bool
IsMainAsset
(int
instanceID
);
Parameters
Parameter
Description
obj
The object of the asset.
entityId
The EntityID of the asset.
instanceID
The instanceID of the asset.
Returns
bool... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_a2be8ca2fc07 | unity_docs | scripting | What is `Handles` in Unity? Explain its purpose and usage. | Handles
class in
UnityEditor
Description
Custom 3D GUI controls and drawing in the Scene view.
Handles are the 3D controls that Unity uses to manipulate items in the Scene view. There are a number of built-in Handle GUIs, such as the familiar tools to position, scale and rotate an object via the Transform compone... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_4923783cb76e_doc_2 | github | scripting | What does `SetPerceivable` do in this Unity script? Explain its purpose and signature. | A game object is not perceivable if it has no active collider and renderer.Used instead of deactivation to enable coroutines and sounds to continue to play.Redirects to
Signature:
```csharp
public void SetPerceivable(bool state)
``` | You are a senior Unity engineer. Answer questions about Unity scripting, XR/VR development, and game systems with working code examples. |
local_sr_6bd2643a5407 | unity_docs | physics | What are the parameters of `Rigidbody2D.Slide` in Unity? | Returns SlideResults The results of the slide movement. Description Slide the Rigidbody2D using the specified velocity integrated over deltaTime using the configuration specified by slideMovement . The intent of this method is to provide fairly sophisticated movement with minimal API. Movement includes sliding along s... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_038c3ee8be91 | unity_docs | scripting | What is `UIElements.CallbackEventHandler.UnregisterCallback` in Unity? Explain its purpose and usage. | CallbackEventHandler.UnregisterCallback
Declaration
public void
UnregisterCallback
(EventCallback<TEventType>
callback
,
UIElements.TrickleDown
useTrickleDown
);
Parameters
Parameter
Description
callback
The callback to remove. If this callback was never registered, nothing happens.
useTrickleDown
Set t... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_bd5969e828d3_doc_18 | github | scripting | What does `this member` do in this Unity script? Explain its purpose and signature. | Whether or not a camera has been set via SetControlledCamera.
Signature:
```csharp
public bool HasControlledCamera
``` | You are an experienced Unity developer specializing in C# scripting, XR/VR development, and performance optimization. |
local_sr_6828cffc9ccd | unity_docs | scripting | Show me a Unity C# example demonstrating `ShortcutManagement.ReserveModifiersAttribute.ctor`. | ReserveModifiersAttribute Constructor
Declaration
public
ReserveModifiersAttribute
(
ShortcutManagement.ShortcutModifiers
modifiers
);
Parameters
Parameter
Description
modifiers
One or more modifiers to reserve.
Description
Creates an attribute that reserves a modifier for a single shortcut.
```csharp
us... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_cc4d0c7ecfd3 | unity_docs | math | Give me an overview of the `Quaternion` class in Unity. | Quaternion
struct in
UnityEngine
/
Implemented in:
UnityEngine.CoreModule
Description
Quaternions are used to represent rotations.
A quaternion is a four-tuple of real numbers {x,y,z,w}. A quaternion is a mathematically convenient alternative to the euler angle representation. You can interpolate a quaternion ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_7f7d5fd4d10b | unity_docs | ui | In Unity's 'UI Document component', what is 'Create a UI Document component' and how does it work? | To create a UI Document component, do one of the following:
To add a UI Document component to an existing GameObject in your scene, select
Component
>
UI Toolkit
>
UI Document
.
To create a new GameObject with a preconfigured UI Document component, select
GameObject
>
UI Toolkit
>
UI Document
. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_0addf9d32a90 | unity_docs | physics | In Unity's 'Handling variation in time', what is 'Recording elapsed time' and how does it work? | Time.time
indicates the amount of time elapsed since the start of the application, and so usually rises continuously and steadily.
Time.deltaTime
indicates the amount of time elapsed since the last frame, and so ideally remains fairly constant. Both these values are based on
in-game rather than real time
, which means ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_bebfca25f06c | unity_docs | performance | In Unity's 'Package version conflict and resolution', what is 'Example' and how does it work? | In this example, there are multiple versions of the following packages requested:
burst@1.2.2
(twice) and
burst@1.3.0-preview.3
collections@0.5.1-preview.11 and collections@0.5.2-preview.8
jobs@0.2.4-preview.11
(twice) and
jobs@0.2.5-preview.20
Using the set of
direct and indirect dependencies
, the Package Manager sel... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_1a958355a3af | unity_docs | editor | Explain 'Modify the Gradle project files for a Unity application' in Unity. | Unity provides
Player Settings and Build settings
to configure your application. When Unity builds your project, it takes these configuration options and uses them to generate
Gradle project files
. However, sometimes you might need more control over the Gradle project files.
Learn about the available methods that you ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_6c80bb2e2d69 | unity_docs | editor | Show me a Unity C# example demonstrating `EditorWindow.mouseOverWindow`. | EditorWindow.mouseOverWindow
public static
EditorWindow
mouseOverWindow
;
Description
The EditorWindow currently under the mouse cursor. (Read Only)
mouseOverWindow
can be null if there is no window under the cursor.
Additional resources:
focusedWindow
.
Move the mouse over other Unity windows to automatic... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ba2db51ef928 | unity_docs | physics | What is `ConfigurableJoint.projectionDistance` in Unity? Explain its purpose and usage. | ConfigurableJoint.projectionDistance
public float
projectionDistance
;
Description
Set the linear tolerance threshold for projection.
If the joint separates by more than this distance along its locked degrees of freedom, the solver
will move the bodies to close the distance.
Setting a very small tolerance may r... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_0640d1575a3e | unity_docs | scripting | What is `WSA.TileTemplate` in Unity? Explain its purpose and usage. | TileTemplate
enumeration
Description
Templates for various tile styles.
Each template represents an XML document for updating tile. Note that availability of templates depends on version of Microsoft Windows. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_60621d56943c | unity_docs | scripting | What is `UIElements.UxmlAttributeConverter_1.FromString` in Unity? Explain its purpose and usage. | UxmlAttributeConverter<T0>.FromString
Declaration
public T
FromString
(string
value
);
Parameters
Parameter
Description
value
A string representation of the type.
Returns
T
Instance of type from the string value.
Description
Provides a type converted from a string representation.
Returns an inst... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_765009df6898 | unity_docs | rendering | Show me a Unity C# example demonstrating `ResourcesAPI`. | ResourcesAPI
class in
UnityEngine
/
Implemented in:
UnityEngine.CoreModule
Description
Derive from this base class to provide alternative implementations to the C# behavior of specific
Resources
methods.
The example provided logs the time taken to handle slower Resources APIs to the player or editor log.
```... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2a940ac4add3 | unity_docs | physics | Give me an overview of the `PhysicsJobOptions2D` class in Unity. | PhysicsJobOptions2D
struct in
UnityEngine
/
Implemented in:
UnityEngine.Physics2DModule
Description
A set of options that control how physics operates when using the job system to multithread the physics simulation.
Multithreaded physics is currently an experimental feature. As such, many options are exposed th... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_a60a488d03bd | github | scripting | Write a Unity C# MonoBehaviour script called Chess Engine | ```csharp
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class ChessEngine : MonoBehaviour
{
private BoardManager _BoardManager;
System.Random rand = new System.Random();
private void Start()
{
_BoardManager = this.GetComponent<BoardManager... | You are a senior Unity engineer. Answer questions about Unity scripting, XR/VR development, and game systems with working code examples. |
local_sr_171da56bfbf3 | unity_docs | scripting | What is `Color32.a` in Unity? Explain its purpose and usage. | Color32.a
public byte
a
;
Description
Alpha component of the color.
```csharp
using UnityEngine;public class Example : MonoBehaviour
{
Color32 color = Color.white;
void Start()
{
color.a = 0;
}
}
``` | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_d9bef25b47cd | unity_docs | editor | What are the parameters of `iOS.Xcode.PBXProject.GetBaseReferenceForConfig` in Unity? | Returns string The GUID of the configuration file being used as the base reference. Description Gets the base configuration reference GUID for the specified build configuration. ```csharp
using UnityEngine;
using UnityEditor;
using System.IO;
using UnityEditor.Callbacks;
using UnityEditor.iOS.Xcode;public class Sample_... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_4f81f54d3541 | unity_docs | rendering | In Unity's 'Enable mipmap streaming', what is 'Lightmaps' and how does it work? | To enable mipmap streaming for lightmaps , follow these steps:
Go to
Edit
>
Project Settings
>
Player
.
In the
Other Settings
section, enable
Lightmap Streaming
.
You can edit the mipmap streaming settings of the lightmap assets in the same way that you can edit settings of any other texture, but they reset to their de... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_8193b2ffacfb | unity_docs | rendering | In Unity's 'Select the CPU or GPU for baking', what is 'Hardware and software requirements' and how does it work? | In order to use the Progressive GPU Lightmapper, your computer must meet these minimum specifications:
At least one GPU with OpenCL 1.2 support
At least 2GB of VRAM dedicated to that GPU
A CPU that supports SSE4.1 instructions
If the scene you are baking requires more VRAM than is available on the designated GPU, bake ... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ec52d925552a | unity_docs | physics | What is `PhysicsVisualizationSettings.SetShowUnitySceneMask` in Unity? Explain its purpose and usage. | PhysicsVisualizationSettings.SetShowUnitySceneMask
Declaration
public static void
SetShowUnitySceneMask
(int
mask
);
Description
Sets the Unity scene mask that should be considered by the filter. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b00cc088564a | unity_docs | scripting | What is `Accessibility.AccessibilityHierarchy.AddNode` in Unity? Explain its purpose and usage. | AccessibilityHierarchy.AddNode
Declaration
public
Accessibility.AccessibilityNode
AddNode
(string
label
,
Accessibility.AccessibilityNode
parent
);
Parameters
Parameter
Description
label
A label that succinctly describes the accessibility node.
parent
The parent of the node being added. When the value... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_90a13788b92b | unity_docs | input | What is `UIElements.KeyboardNavigationManipulator` in Unity? Explain its purpose and usage. | KeyboardNavigationManipulator
class in
UnityEngine.UIElements
/
Inherits from:
UIElements.Manipulator
/
Implemented in:
UnityEngine.UIElementsModule
Description
Provides a default implementation for translating input device specific events to higher level navigation operations as commonly possible with a keyb... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_424ffacddc5c | unity_docs | scripting | What is `Experimental.Rendering.GraphicsFormat.R16G16B16A16_SFloat` in Unity? Explain its purpose and usage. | Experimental
: this API is experimental and might be changed or removed in the future.
GraphicsFormat.R16G16B16A16_SFloat
Description
A four-component, 64-bit signed floating-point format that has a 16-bit R component in bytes 0..1, a 16-bit G component in bytes 2..3, a 16-bit B component in bytes 4..5, and a 16-bi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_9f72e11aafc2 | unity_docs | animation | What is `ModelImporter.animationCompression` in Unity? Explain its purpose and usage. | ModelImporter.animationCompression
public
ModelImporterAnimationCompression
animationCompression
;
Description
Animation compression setting.
Compressing animations saves space in the built game, but more compression
introduces more artifacts in the animation data.
Additional resources:
ModelImporterAnimatio... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_25db2e7589d7 | unity_docs | rendering | Show me a Unity code example for 'Group commands with the Category block'. | Use the Category block to group commands that set the render state, so that you can “inherit” the grouped rendering state within the block.
For example, your Shader object might have multiple SubShaders , each of which requires blending set to additive. You can use the Category block for that:
```
Shader "example" {
Ca... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_ed530f6bac1b | unity_docs | rendering | What is `ColorSpace` in Unity? Explain its purpose and usage. | ColorSpace
enumeration
Description
Color space for player settings.
This enum is used to indicate color space used in project (
PlayerSettings.colorSpace
) and sprite atlases (
AtlasSettings.colorSpace
).
Additional resources:
Linear and Gamma rendering
,
RenderTextureReadWrite
.
Properties
Property
Descripti... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_579f4f533f5e | unity_docs | rendering | Show me a Unity C# example demonstrating `MaterialPropertyBlock`. | l Render Pipeline (URP), High Definition Render Pipeline (HDRP) or a custom render pipeline based on the Scriptable Render Pipeline (SRP) will likely result in a drop in performance.
The following example creates 10 GameObjects with random colors using
MaterialPropertyBlock
. To use the example, attach a prefab to the... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_2eeed87c9077 | unity_docs | xr | What is `BlendShapeBufferRange` in Unity? Explain its purpose and usage. | BlendShapeBufferRange
struct in
UnityEngine
/
Implemented in:
UnityEngine.CoreModule
Description
Describes the location of blend shape vertex data in a
GraphicsBuffer
.
When you call
Mesh.GetBlendShapeBuffer
with
BlendShapeBufferLayout.PerShape
, Unity returns a
GraphicsBuffer
that contains blend shape ve... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_3710cd13091f | unity_docs | math | What is `Mathf.LerpUnclamped` in Unity? Explain its purpose and usage. | Mathf.LerpUnclamped
Declaration
public static float
LerpUnclamped
(float
a
,
float
b
,
float
t
);
Parameters
Parameter
Description
a
The start value.
b
The end value.
t
The interpolation between the two floats.
Returns
float
The float value as a result from the linear interpolation.
Description... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_e3e1e7228c66 | unity_docs | scripting | In Unity's 'Use environment variables to identify your web proxy', what is 'Proxy environment variable values that include authentication information' and how does it work? | Important
: Passwords are insecure if you use them in environment variables.
If your environment variable definitions need to include authentication information, the proxy value takes the following form:
```
http://<username>:<password>@<proxy_name_or_IP_address>:<proxy_port>
```
Example:
```
http://DanaLee:My1337passw... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_43c6aa7f3fa0 | unity_docs | rendering | In Unity's 'Animation clips', what is 'Animation from external sources' and how does it work? | You can import the following types of Animation clips from external sources:
Humanoid animations
captured at a motion capture studio.
Animations created from scratch by an artist in an external 3D application (such as Autodesk® 3ds Max® or Autodesk® Maya®).
Animation sets from third party libraries from Unity’s
Asset S... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_6ecd84bca44b | unity_docs | scripting | What is `CreateGameObjectHierarchyEventArgs` in Unity? Explain its purpose and usage. | CreateGameObjectHierarchyEventArgs
struct in
UnityEditor
Description
A change of this type indicates that a
GameObject
has been created, possibly with additional objects below it in the hierarchy. This happens for example when
Undo.RegisterCreatedObjectUndo
is used with a
GameObject
.
Properties
Property
D... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
gh_c78864fb3aac_doc_1 | github | scripting | What does `ResetBouncyBall` do in this Unity script? Explain its purpose and signature. | Called on game start and on
Signature:
```csharp
public void ResetBouncyBall(Vector3 position, bool willFade, float fadeDuration)
``` | You are a knowledgeable Unity developer. Explain Unity concepts clearly and provide practical, tested code examples. |
local_sr_1e829711d4a0 | unity_docs | scripting | Show me a Unity C# example demonstrating `Plane.Raycast`. | float
enter
);
Description
Intersects a ray with the plane.
This function sets
enter
to the distance along the ray, where it intersects the plane.
If the ray is parallel to the plane, function returns
false
and sets
enter
to zero.
If the ray is pointing in the opposite direction than the plane, function ret... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_6fd59a0834f5 | unity_docs | rendering | In Unity's 'Light component Inspector window reference for the Built-In-Render-Pipeline', what is 'Additional settings' and how does it work? | Property:
Function:
Cookie
Specify a Texture mask through which shadows are cast (for example, to create silhouettes, or patterned illumination for the Light). For more information, see
Cookies
.
Draw Halo
Tick this box to draw a spherical Halo of light with a diameter equal to the Range value. You can also use the Hal... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_e8350c056e0a | unity_docs | physics | What is `SpherecastCommand.ctor` in Unity? Explain its purpose and usage. | SpherecastCommand Constructor
Declaration
public
SpherecastCommand
(
Vector3
origin
,
float
radius
,
Vector3
direction
,
QueryParameters
queryParameters
,
float
distance
);
Parameters
Parameter
Description
origin
The starting point of the sphere cast.
radius
The radius of the casting sphere.
dire... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_0c9000241ad1 | unity_docs | animation | Explain 'Deterministic builds introduction' in Unity. | Build determinism is important if you want to be able to repeat a build process and get the same set of binary files. Creating a deterministic build enables regulatory compliance for industries requiring binary verification, and is a useful way to ensure that users don’t download unchanged content. Deterministic builds... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_412bd9ec7e43 | unity_docs | ui | Explain 'SliderInt' in Unity. | The SliderInt lets users select an integer value from a range of values. You can use a SliderInt to adjust a value, such as the number of lives in a game. To set the value, you drag a thumb along a track, or click the track itself. A slider can also include a
text input field
, where you can modify the value directly.
... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_691300b3c3e9 | unity_docs | editor | What is `Device.Application.platform` in Unity? Explain its purpose and usage. | Application.platform
public static
RuntimePlatform
platform
;
Description
This has the same functionality as
Application.platform
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. |
gh_25f40739b5de_doc_5 | github | scripting | What does `ReleaseAll` do in this Unity script? Explain its purpose and signature. | Releases all active objects back into the pool.
Signature:
```csharp
internal void ReleaseAll()
``` | You are a senior Unity engineer. Answer questions about Unity scripting, XR/VR development, and game systems with working code examples. |
local_sr_9b8e34f79553 | unity_docs | scripting | Show me a Unity C# example demonstrating `Handles.RotationHandle`. | same value as you passed into the function.
Description
Make a Scene view rotation handle.
This will behave like the built-in rotation tool in Unity. If you have assigned something to Undo.SetSnapshotTarget, it will work fully with Undo.
Note:
Use
HandleUtility.GetHandleSize
where you might want to have consta... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b5a61a0579a4 | unity_docs | editor | What is `AssetDatabase.IsDirectoryMonitoringEnabled` in Unity? Explain its purpose and usage. | AssetDatabase.IsDirectoryMonitoringEnabled
Declaration
public static bool
IsDirectoryMonitoringEnabled
();
Returns
bool
Returns true when Directory Monitoring is enabled. Returns false otherwise.
Description
Reports whether Directory Monitoring is enabled.
Turn Directory Monitoring on or off in Preference... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_b638ede52d9a | unity_docs | ui | Show me a Unity C# example demonstrating `GUIStyle.onHover`. | GUIStyle.onHover
public
GUIStyleState
onHover
;
Description
Rendering settings for when the control is turned on and the mouse is hovering it.
```csharp
using UnityEngine;public class Example : MonoBehaviour
{
void OnGUI()
{
GUI.skin.button.onHover.textColor = Color.cyan;
}
}
``` | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_79d96f8b5631 | unity_docs | scripting | Show me a Unity C# example demonstrating `EditorGUI.Vector3Field`. | 3
Vector3Field
(
Rect
position
,
GUIContent
label
,
Vector3
value
);
Parameters
Parameter
Description
position
Rectangle on the screen to use for the field.
label
Label to display above the field.
value
The value to edit.
Returns
Vector3
The value entered by the user.
Description
Makes an X... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_90045f411c9f | unity_docs | xr | In Unity's 'Define exceptions on your web proxy', what is 'Endpoints that download executable files' and how does it work? | Even if you don’t need to add exceptions from the earlier table based on your environment, add exceptions to your web proxy if either of the following conditions are true:
Your web proxy prevents downloading of executable files.
Your web proxy requires user confirmation before downloading executable files.
Without addi... | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_man_6fa789fca227 | unity_docs | rendering | In Unity's 'Set a project’s color space', what is 'Select the color space' and how does it work? | Select the color space for your project with the following steps:
Go to
Edit
>
Project Settings
, then select the Player category.
Navigate to the
Other Settings
, open the Rendering section, and set the
Color Space
property to Linear or Gamma , depending on your preference. | You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges. |
local_sr_de63073aea19 | unity_docs | scripting | What is `Search.StringView.Substring` in Unity? Explain its purpose and usage. | StringView.Substring
Declaration
public stringView
Substring
(int
start
);
Parameters
Parameter
Description
start
The starting index.
Returns
stringView
A new
StringView
.
Description
Returns a substring of the current
StringView
, starting at index
start
and until the end of the
StringView
.
T... | 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.