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_bbc66c4fd86f
unity_docs
scripting
What is `Build.Content.WriteResult.resourceFiles` in Unity? Explain its purpose and usage.
WriteResult.resourceFiles public ReadOnlyCollection<ResourceFile> resourceFiles ; Description Collection of files written by the ContentBuildInterface.WriteSerializedFile or ContentBuildInterface.WriteSceneSerializedFile APIs. Internal use only. See WriteResult .
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_fa7439b7ced3
unity_docs
scripting
Explain 'Unity and Gradle version compatibility' in Unity.
The following table shows which Gradle and Android Gradle Plugin versions are compatible with the current Unity version. Unity version Gradle version Android Gradle plug-in version 6000.0.61f1+ 8.13 8.10.0 6000.0.45f1 - 6000.0.60f1 8.11 8.7.2 6000.0.1f1 - 6000.0.44f1 8.4 8.3.0 Gradle and Android Gradle Plugin version c...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_9e93dc6c45f3
unity_docs
rendering
Show me a Unity C# example demonstrating `ParticleSystemJobs.IJobParticleSystemParallelFor.Execute`.
eclaration public void Execute ( ParticleSystemJobs.ParticleSystemJobData jobData , int index ); Parameters Parameter Description jobData Contains the particle properties. index The index of the current particle. Description Implement this method to access and modify particle properties. Below is an exa...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_cb5a9853f9ee
unity_docs
scripting
What is `Display.requiresSrgbBlitToBackbuffer` in Unity? Explain its purpose and usage.
Display.requiresSrgbBlitToBackbuffer public bool requiresSrgbBlitToBackbuffer ; Description True when doing a blit to the back buffer requires manual color space conversion. This property indicates whether the back buffer requires manual color space conversion from linear color space to sRGB in order to blit to...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_15442ae0f7ea
unity_docs
rendering
What is `Tilemaps.TilemapRenderer.SortOrder.TopRight` in Unity? Explain its purpose and usage.
TilemapRenderer.SortOrder.TopRight Description Sorts tiles for rendering starting from the tile with the highest X and the lowest Y cell positions. The TilemapRenderer will iterate through tiles by the next lower X value first before tiles with a lower Y value.
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_766cfa69de7a
unity_docs
scripting
Show me a Unity C# example demonstrating `Rendering.IRenderPipelineGraphicsSettings`.
IRenderPipelineGraphicsSettings interface in UnityEngine.Rendering Description Classes implementing this interface are stored in RenderPipelineGlobalSettings . Use them to store project default data. ```csharp using System; using System.ComponentModel; using UnityEngine; using UnityEngine.Rendering;[ Serializab...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_4d1e081a815f
unity_docs
rendering
What is `Renderer.sortingOrder` in Unity? Explain its purpose and usage.
Renderer.sortingOrder public int sortingOrder ; Description Renderer's order within a sorting layer. You can group GameObjects into layers in their SpriteRenderer component. This is called the SortingLayer . The sorting order decides what priority each GameObject has to the Renderer within each Sorting Layer...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_f4d3aeedf3be
unity_docs
scripting
What is `Graphics.activeDepthBuffer` in Unity? Explain its purpose and usage.
Graphics.activeDepthBuffer public static RenderBuffer activeDepthBuffer ; Description Currently active depth/stencil buffer (Read Only). Additional resources: RenderBuffer , Graphics.activeColorBuffer , Graphics.SetRenderTarget , Graphics.Blit .
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_26fd1686e8dc
unity_docs
xr
Give me an overview of the `CameraType` class in Unity.
CameraType enumeration Description Describes different types of camera. The Unity Editor sets the type of a camera based on what it is used for. When selecting a model asset in the project the preview in the Inspector will be rendered with a camera that has the type Preview. A camera in the Scene Hierarchy will ha...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_8fb39a666941
unity_docs
animation
What is `U2D.SpriteRendererDataAccessExtensions` in Unity? Explain its purpose and usage.
SpriteRendererDataAccessExtensions class in UnityEngine.U2D / Implemented in: UnityEngine.CoreModule Description A list of methods that allow the caller to override what the SpriteRenderer renders. This feature is used mainly in the Sprite Animation feature. The SpriteSkin component gets the deformable buffer a...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_da0c64b0a1cd
unity_docs
scripting
What is `Search.IQueryEngineFilter.regexToken` in Unity? Explain its purpose and usage.
IQueryEngineFilter.regexToken public Regex regexToken ; Description The regular expression that matches the filter. Matches what precedes the operator in a filter (for example. "id" in "id>=2"). This regular expression token is set when you create a filter with a regular expression. If you create a filter witho...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_54999c14bd2f
unity_docs
editor
Show me a Unity C# example demonstrating `EditorTools.EditorTool.toolbarIcon`.
EditorTool.toolbarIcon public GUIContent toolbarIcon ; Description The icon and tooltip for this custom editor tool. If this function is not implemented, the toolbar displays the Inspector icon for the target type. If no target type is defined, the toolbar displays the Tool Mode icon. This property is accesse...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_5b8956d1bec9
unity_docs
scripting
Show me a Unity C# example demonstrating `Vector3.zero`.
Vector3.zero public static Vector3 zero ; Description Shorthand for writing Vector3(0, 0, 0) . ```csharp using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { void Example() { transform.position = Vector3.zero; } } ```
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_2582be0387cc
unity_docs
editor
Show me a Unity C# example demonstrating `PlayerSettings.Android.maxAspectRatio`.
. This value is expressed as (longer dimension / shorter dimension) in decimal form. It can't be set to a value lower than 1.86 which approximately matches the older widescreen device aspect ratio of 17:9(16.74:9) . By default, it is set to 2.4 which means the application supports all devices with aspect ratio up...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_e0ff34eaefc6
unity_docs
performance
What is `Unity.IO.LowLevel.Unsafe.AsyncReadManager` in Unity? Explain its purpose and usage.
AsyncReadManager class in Unity.IO.LowLevel.Unsafe / Implemented in: UnityEngine.CoreModule Description With the AsyncReadManager, you can perform asynchronous I/O operations through Unity's virtual file system. You can perform these operations on any thread or job. Static Methods Method Description CloseCac...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_9cf31bb98bb0
unity_docs
input
What is `PlayerSettings.WSA.inputSource` in Unity? Explain its purpose and usage.
PlayerSettings.WSA.inputSource public static PlayerSettings.WSAInputSource inputSource ; Description The input source type for mouse, pen, and touch input events in a XAML app. In the Editor, Unity displays this under Misc in UWP Player Settings . Note : This option is only applicable to XAML applicati...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_91b81206ffa9
unity_docs
scripting
What is `SpeedTreeWindAsset` in Unity? Explain its purpose and usage.
SpeedTreeWindAsset class in UnityEngine / Inherits from: Object / Implemented in: UnityEngine.TerrainModule Description SpeedTreeWindAsset generated by the SpeedTreeImporter, contains wind version and configuration data for SpeedTree wind simulation. Properties Property Description Version Gets or sets th...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_33852003fb61
unity_docs
rendering
What is `Texture` in Unity? Explain its purpose and usage.
Texture class in UnityEngine / Inherits from: Object / Implemented in: UnityEngine.CoreModule Description Base class for Texture handling. Static Properties Property Description allowThreadedTextureCreation Allow Unity internals to perform Texture creation on any thread (rather than the dedicated render th...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_ffa790edc435
unity_docs
editor
Show me a Unity C# example demonstrating `iOS.Xcode.PBXProject.GetResourcesBuildPhaseByTarget`.
rcesBuildPhaseByTarget Declaration public string GetResourcesBuildPhaseByTarget (string targetGuid ); Parameters Parameter Description targetGuid The GUID of the target, such as the one returned by TargetGuidByName . Returns string Returns the GUID of the existing phase or null if it does not exist. ...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_efc8dd425301
unity_docs
scripting
What is `Android.DownloadAssetPackAsyncOperation.downloadFailedAssetPacks` in Unity? Explain its purpose and usage.
DownloadAssetPackAsyncOperation.downloadFailedAssetPacks public string[] downloadFailedAssetPacks ; Description Gets the names of Android asset packs that failed to download. The Android asset pack names this property returns correspond to asset pack downloads that either failed due to some error or that the en...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_0803375fe22b
unity_docs
editor
What is `FileUtil.CopyFileOrDirectory` in Unity? Explain its purpose and usage.
FileUtil.CopyFileOrDirectory Declaration public static void CopyFileOrDirectory (string source , string dest ); Description Copies a file or a directory. This function's path can be relative to the project root folder or be an absolute path. All file separators should be forward ones "/". Make sure to include...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_d9f944b058fd
unity_docs
rendering
Show me a Unity C# example demonstrating `ParticleSystem.MainModule.startRotationY`.
ParticleSystem.MainModule.startRotationY public ParticleSystem.MinMaxCurve startRotationY ; Description The initial rotation of particles around the y-axis when the Particle System first spawns them. Note that you should specify the value in radians. Additional resources: MinMaxCurve . ```csharp using Unit...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_ba70bb70874b
unity_docs
scripting
What is `AI.NavMeshAgent.nextPosition` in Unity? Explain its purpose and usage.
NavMeshAgent.nextPosition public Vector3 nextPosition ; Description Gets or sets the simulation position of the navmesh agent. The position vector is in world space coordinates and units. The nextPosition is coupled to Transform.position . In the default case the navmesh agent's Transform position will match...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_868013dea7f1
unity_docs
rendering
What is `Rendering.RayTracingInstanceCullingTest` in Unity? Explain its purpose and usage.
RayTracingInstanceCullingTest struct in UnityEngine.Rendering / Implemented in: UnityEngine.CoreModule Description A testing configuration used in RayTracingAccelerationStructure.CullInstances for adding Renderers to an acceleration structure based on their layer, ShadowCastingMode and Material type. Typica...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
gh_03c4d7c1e3ba
github
scripting
Write a Unity C# script called Game Event Base
```csharp using UnityEngine; namespace Hudossay.AttributeEvents.Assets.Runtime.GameEvents { public abstract class GameEventBase { public static void InstantiateIfNull<T>(ref T gameEvent) where T : GameEventBase, new() { if (gameEvent == null) gameEvent = new T(); ...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_d38bdd5bdc01
unity_docs
scripting
What is `Experimental.Rendering.GraphicsFormat.B8G8R8_SInt` in Unity? Explain its purpose and usage.
Experimental : this API is experimental and might be changed or removed in the future. GraphicsFormat.B8G8R8_SInt Description A three-component, 24-bit signed integer format that has an 8-bit B component in byte 0, an 8-bit G component in byte 1, and an 8-bit R component in byte 2.
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_8c1b73862df6
unity_docs
editor
In Unity's 'Implement a custom native container', what is 'Implement leak tracking' and how does it work?
Unity’s native code primarily implements leak tracking. It uses the UnsafeUtility.MallocTracked method to allocate the memory needed to store NativeContainer data, and then uses UnsafeUtility.FreeTracked to dispose of it. In earlier versions of Unity the DisposeSentinel class provides leak tracking. Unity reports a mem...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_f684582b02b4
unity_docs
scripting
Show me a Unity C# example demonstrating `HandleUtility.nearestControl`.
HandleUtility.nearestControl public static int nearestControl ; Description The controlID of the nearest Handle to the mouse cursor. ```csharp using UnityEngine; using UnityEditor; public class ExampleScript : MonoBehaviour { public float value = 1.0f; } // A tiny custom editor for ExampleScript component. [...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_8d4887826d8b
unity_docs
rendering
Give me an overview of the `WebGLTextureSubtarget` class in Unity.
WebGLTextureSubtarget enumeration Description Compressed texture format for target build platform. Additional resources: EditorUserBuildSettings.webGLBuildSubtarget . Properties Property Description Generic Don't override texture compression. DXT S3 texture compression. Supported on devices with NVidia Tegra...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_26681cc65c37
unity_docs
scripting
What are the parameters of `Vector2.Angle` in Unity?
Returns float The unsigned angle in degrees between the two vectors. Description Gets the unsigned angle in degrees between from and to . The angle returned is the unsigned angle between the two vectors. Note: The angle returned will always be between 0 and 180 degrees, because the method returns the smallest angle bet...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_57cbe5d26709
unity_docs
rendering
In Unity's 'Lightmap data format', what is 'Encoding schemes' and how does it work?
Unity projects can use two techniques to encode baked light intensity ranges into low dynamic range textures when this is needed: RGBM encoding . RGBM encoding stores a color in the RGB channels and a multiplier ( M ) in the alpha channel. The range of RGBM lightmaps goes from 0 to 34.49(5 2.2 ) in linear space, and fr...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_6c36666cef7a
unity_docs
scripting
Show me a Unity C# example demonstrating `ParticleSystem.MainModule.startSizeX`.
ParticleSystem.MainModule.startSizeX public ParticleSystem.MinMaxCurve startSizeX ; Description The initial size of particles along the x-axis when the Particle System first spawns them. Additional resources: MinMaxCurve . ```csharp using UnityEngine; using System.Collections;[RequireComponent(typeof(Parti...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_a350934f76f3
unity_docs
physics
Show me a Unity code example for 'Call Unity C# script functions from JavaScript'.
: The method takes no parameters. The method has one parameter and that parameter is a single string. The method has one parameter and that parameter is a single number. Methods with more than one parameter or with parameters of other types can’t be called using SendMessage . ## Example SendMessage code To make the c...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_6ca7c65b7e10
unity_docs
physics
What is `Collider.includeLayers` in Unity? Explain its purpose and usage.
Collider.includeLayers public LayerMask includeLayers ; Description The additional layers that this Collider should include when deciding if the Collider can contact another Collider . The Layer Collision Matrix defines which layers can contact other layers. Use this property to specify additional layers...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_1e1732635506
unity_docs
editor
Show me a Unity C# example demonstrating `Presets.Preset.SetDefaultPresetsForType`.
Type . presets An ordered list of DefaultPreset . Returns bool Returns true if the list was set as default. Returns false otherwise. Description Sets a default list of Presets with a filter for a specific PresetType . Default Presets are stored in the PresetManager. Access Presets with a script, using this...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_359fb7f9540a
unity_docs
scripting
What is `Windows.LicenseInformation` in Unity? Explain its purpose and usage.
LicenseInformation class in UnityEngine.Windows / Implemented in: UnityEngine.CoreModule Description This class provides information regarding application's trial status and allows initiating application purchase. Note: this class is only available on Universal Windows Platform. Static Properties Property D...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_f3542386ac3d
unity_docs
editor
Explain 'Install Unity Accelerator with the installer' in Unity.
To install Unity Accelerator through its installer: Go to Unity Accelerator downloads . Select the correct installer for your operating system. Refer to Verify the Unity Accelerator version to verify the installation on a Linux machine. Open the installer, and follow the steps to complete installation. On the final scr...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_c33fd24920a8
unity_docs
rendering
What is `Rendering.RayTracingInstanceCullingTest.allowAlphaTestedMaterials` in Unity? Explain its purpose and usage.
RayTracingInstanceCullingTest.allowAlphaTestedMaterials public bool allowAlphaTestedMaterials ; Description Whether to allow Renderers that use alpha tested Materials. Use RayTracingInstanceCullingConfig.alphaTestedMaterialConfig to define when a Material is considered alpha tested. If this value is false and...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_997e56e36619
unity_docs
math
What are the parameters of `Mesh.MeshData.GetVertexData` in Unity?
Returns NativeArray<T> Returns a NativeArray containing the vertex buffer data. Description Gets raw data for a given vertex buffer stream format in the MeshData . GetVertexData returns a direct "pointer" into the raw vertex buffer data without any memory allocations, data copies or conversions. You do not need to disp...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_9b7890292009
unity_docs
rendering
Explain 'Self-Illuminated Parallax Specular' in Unity.
Note. Unity 5 introduced the Standard Shader which replaces this shader . ## Self-Illuminated Properties Note. Unity 5 introduced the Standard Shader which replaces this shader. This shader allows you to define bright and dark parts of the object. The alpha channel of a secondary texture will define areas of the obje...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_09d346098a88
unity_docs
rendering
What is `SpriteMetaData` in Unity? Explain its purpose and usage.
SpriteMetaData struct in UnityEditor Description Editor data used in producing a Sprite. Additional resources: TextureImporter.spritesheet . Properties Property Description alignment Edge-relative alignment of the sprite graphic. border Edge border size for a sprite (in pixels). name Name of the Sprite. p...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
gh_c292e80dd9f2
github
scripting
Write a Unity C# script called Base Code Generator
```csharp using System; using UnityEngine; namespace CodeGeneration.Base { /// <summary> /// Base class for custom CodeGenerator /// </summary> /// <typeparam name="T"></typeparam> public abstract class BaseCodeGenerator<T> where T : BaseScriptTemplate { protected BaseCodeGenerator(Bas...
You are a knowledgeable Unity developer. Explain Unity concepts clearly and provide practical, tested code examples.
local_sr_046d6289d009
unity_docs
xr
What is `Unity.IO.LowLevel.Unsafe.AsyncReadManagerMetrics.ClearCompletedMetrics` in Unity? Explain its purpose and usage.
AsyncReadManagerMetrics.ClearCompletedMetrics Declaration public static void ClearCompletedMetrics (); Description Clears the metrics for all completed requests, including failed and canceled requests. You can also clear metrics data when you call GetMetrics or GetCurrentSummaryMetrics by passing in the app...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_829d2817d69f
unity_docs
scripting
What is `Vector3.up` in Unity? Explain its purpose and usage.
Vector3.up public static Vector3 up ; Description Shorthand for writing Vector3(0, 1, 0) . ```csharp using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { void Example() { transform.position += Vector3.up * Time.deltaTime; } } ```
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_67c544606ada
unity_docs
math
What is `TerrainData.heightmapScale` in Unity? Explain its purpose and usage.
TerrainData.heightmapScale public Vector3 heightmapScale ; Description Returns a Vector3 where the x and z components are the size of each heightmap sample (i.e. the space between two neighboring heightmap samples), and the y component is the entire Terrain's height range in world space.
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_09a17d74a44c
unity_docs
scripting
Show me a Unity C# example demonstrating `Camera.depth`.
Camera.depth public float depth ; Description Camera's depth in the camera rendering order. Cameras with lower depth are rendered before cameras with higher depth. Use this to control the order in which cameras are drawn if you have multiple cameras and some of them don't cover the full screen. Additional reso...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_7ee54e0a825e
unity_docs
rendering
What is `Search.SearchActionsProviderAttribute` in Unity? Explain its purpose and usage.
SearchActionsProviderAttribute class in UnityEditor.Search Description Attribute used to declare a static method that defines new actions for specific search providers. ```csharp using System.Collections.Generic; using UnityEditor; using UnityEditor.Search; using UnityEngine; using UnityEngine.Rendering; public ...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_d3abc0e43054
unity_docs
physics
What is `ContactPoint2D.separation` in Unity? Explain its purpose and usage.
ContactPoint2D.separation public float separation ; Description Gets the distance between the colliders at the contact point. Unity's physics engine tracks the distances between all potentially overlapping colliders. Once a given collider pair has overlapped (collided), contacts are immediately generated and an...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_cc01e5ee45fd
unity_docs
scripting
What is `Video.VideoAudioOutputMode` in Unity? Explain its purpose and usage.
VideoAudioOutputMode enumeration Description Places where the audio embedded in a video can be sent. Use this enum to mute your audio, output your audio through Unity’s audio system, or output the audio directly to the audio hardware. ```csharp // This script changes the audio output of a video when you press the...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_a878431e5f22
unity_docs
rendering
Explain 'Final color modifier Surface Shader example in the Built-In Render Pipeline' in Unity.
It is possible to use a “final color modifier” function that will modify the final color computed by the Shader.The Surface Shader compilation directive finalcolor:functionName is used for this, with a function that takes Input IN, SurfaceOutput o, inout fixed4 color parameters. Here’s a simple Shader that applies tint...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_8df7f584aaed
unity_docs
editor
What are the parameters of `AssetDatabase.IsNativeAsset` in Unity?
Returns bool True if the asset is a native asset, otherwise false. Description Determines whether the asset is a native asset. A native asset is a file produced directly by Unity's serialization system (for example, a .mat material file is a native asset) Scenes, prefabs and assembly definitions aren't native assets. F...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_d1aed252dc04
unity_docs
editor
Show me a Unity C# example demonstrating `RuntimePlatform.WindowsEditor`.
RuntimePlatform.WindowsEditor Description In the Unity editor on Windows. Additional resources: RuntimePlatform , Platform dependent compilation . ```csharp using UnityEngine;public class Example : MonoBehaviour { void Start() { if (Application.platform == RuntimePlatform.WindowsEditor) { Debug.Log("Do some...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
gh_ba69483bff2c
github
scripting
Write a Unity C# UI script for Right View
```csharp using System; using RMC.Mini.View; using RMC.Mini.Samples.DataBindingMini.WithMini.Mini.Model; using UnityEngine; using UnityEngine.UI; namespace RMC.Mini.Samples.DataBindingMini.WithMini.Mini.View { // Namespace Properties ------------------------------ // Class Attributes -----------------------...
You are a senior Unity engineer. Answer questions about Unity scripting, XR/VR development, and game systems with working code examples.
local_sr_490112ead795
unity_docs
physics
Show me a Unity C# example demonstrating `Callbacks.PostProcessSceneAttribute`.
cached Player data instead. In this case the PostProcessSceneAttribute callback is not called. To ensure an unchanged scene rebuilds, you can either modify the scene or clear the build cache with BuildOptions.CleanBuildCache . Using EditorSceneManager.MarkSceneDirty alone is not sufficient to trigger the callback....
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
gh_28f6c0c9e110
github
scripting
Write a Unity Editor script for Asssembly
```csharp // // /*=============================================================================== // // Copyright (C) 2025 PhantomsXR Ltd. All Rights Reserved. // // // // This file is part of the Phantom.XRMOD.XRMODSimulator.Runtime. // // // // The XR-MOD cannot be copied, distributed, or made available to // // thir...
You are an expert Unity game developer. Provide clear, accurate, and practical answers about Unity development.
local_man_632ef19ca11e
unity_docs
rendering
In Unity's 'Autodesk Interactive shader in the Built-In Render Pipeline', what is 'Creating an Autodesk Interactive material' and how does it work?
When Unity imports an FBX file with a compatible Autodesk shader, it automatically creates an Autodesk Interactive material. If you want to manually create an Autodesk Interactive material: Create a new material from the menu: Assets > Create > Material . In the Inspector for the Material, click the Shader drop-down th...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_344ab614361c
unity_docs
scripting
What is `Assertions.Comparers.FloatComparer.AreEqual` in Unity? Explain its purpose and usage.
FloatComparer.AreEqual Declaration public static bool AreEqual (float expected , float actual , float error ); Parameters Parameter Description expected Expected value. actual Actual value. error Comparison error. Returns bool Result of the comparison. Description Performs equality check with a...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_afdf39c2cb0d
unity_docs
physics
What is `Collider2D.CompositeOperation.Intersect` in Unity? Explain its purpose and usage.
Collider2D.CompositeOperation.Intersect Description Indicates a composite operation that composes geometry using a Boolean AND operation. This composite operation will result in a region where both regions of geometry overlap. Additional resources: Collider2D.compositeOperation and Collider2D.compositeOrder .
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_b48fcb37c7ec
unity_docs
performance
What is `Resources.InstanceIDToObjectList` in Unity? Explain its purpose and usage.
Resources.InstanceIDToObjectList Declaration public static void InstanceIDToObjectList (NativeArray<int> instanceIDs , List<Object> objects ); Parameters Parameter Description instanceIDs IDs of Object instances. objects List of resoved object references, instanceIDs and objects will be of the same le...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_021e0e6740ab
unity_docs
scripting
What is `SpeedTree.Importer.DiffuseProfileCallbackAttribute.ctor` in Unity? Explain its purpose and usage.
DiffuseProfileCallbackAttribute.ctor(int methodVersion) Parameters Parameter Description methodVersion The given method version. Description Initializes a new instance of the DiffuseProfileCallbackAttribute with the given method version.
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_81581de7d7b0
unity_docs
physics
What is `Physics.autoSyncTransforms` in Unity? Explain its purpose and usage.
Physics.autoSyncTransforms public static bool autoSyncTransforms ; Description Whether or not to automatically sync transform changes with the physics system whenever a Transform component changes. When a Transform component changes, any Rigidbody or Collider on that Transform or its children may need...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_8ddb59ece81f
unity_docs
scripting
What is `AwaitableCompletionSource.TrySetResult` in Unity? Explain its purpose and usage.
AwaitableCompletionSource.TrySetResult Declaration public bool TrySetResult (); Returns bool Indicates if the completion was successfully raised. Description Raise the awaitable completion.
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_5eee1647b987
unity_docs
scripting
What is `Sprites.DataUtility` in Unity? Explain its purpose and usage.
DataUtility class in UnityEngine.Sprites / Implemented in: UnityEngine.CoreModule Description Helper utilities for accessing Sprite data. Static Methods Method Description GetInnerUV Inner UV's of the Sprite. GetMinSize Minimum width and height of the Sprite. GetOuterUV Outer UV's of the Sprite. GetPadd...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_3206098ab78c
unity_docs
xr
What is `Texture2D.IsRequestedMipmapLevelLoaded` in Unity? Explain its purpose and usage.
Texture2D.IsRequestedMipmapLevelLoaded Declaration public bool IsRequestedMipmapLevelLoaded (); Returns bool True if the mipmap level requested by requestedMipmapLevel has finished loading. Description Checks to see whether the mipmap level set by requestedMipmapLevel has finished loading.
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_68aada9dae96
unity_docs
physics
What is `ContactPairHeader.otherBody` in Unity? Explain its purpose and usage.
ContactPairHeader.otherBody public Component otherBody ; Description The second Rigidbody or ArticulationBody in the pair. Use with the as keyword to determine the actual type of the component.
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_2d4f6547e7c9
unity_docs
scripting
Explain 'USS selectors' in Unity.
Selectors decide which elements that USS rules affect. USS supports a set of simple selectors that are analogous, but not identical, to simple selectors in CSS. A simple selector matches elements by element type, USS class, element name, and wildcard. You can combine simple selectors into complex selectors, or append p...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_5908fe062614
unity_docs
ui
In Unity's 'Grid and Snap toolbar overlay', what is 'Grid Visual menu reference' and how does it work?
Property Description Grid Plane Select the axes you want to display the grid on. Opacity Use the opacity slider to change the opacity of the grid . Move to Select Handle to move the grid to the handle of the selected GameObject. Select Origin to move the grid back to its default position of (0, 0, 0).
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
gh_7fe5a06be3f4_doc_0
github
scripting
What does `this member` do in this Unity script? Explain its purpose and signature.
Utility class to make inheriting types singletons.The type to be made a singleton. Signature: ```csharp public class Singleton<T> : MonoBehaviour where T : Component ```
You are a senior Unity engineer. Answer questions about Unity scripting, XR/VR development, and game systems with working code examples.
local_sr_2bab29c9fba8
unity_docs
rendering
What is `RenderTargetSetup.depthSlice` in Unity? Explain its purpose and usage.
RenderTargetSetup.depthSlice public int depthSlice ; Description Slice of a Texture3D or Texture2DArray to set as a render target. Some platforms (e.g. D3D11) support setting -1 as the slice, which binds whole render target for rendering. Then typically a geometry shader is used to direct rendering into the...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_a75ab1a8280d
unity_docs
scripting
What is `UIElements.EnumField.ctor` in Unity? Explain its purpose and usage.
EnumField Constructor Declaration public EnumField (); Description Construct an EnumField. Declaration public EnumField (Enum defaultValue ); Parameters Parameter Description defaultValue Initial value. Also used to detect Enum type. Description Construct an EnumField. Declaration public Enum...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_e0705e1aa11b
unity_docs
input
Show me a Unity code example for 'Input Manager'.
tons follow these naming conventions: Button origin Naming convention A specific button on any joystick joystick button 0 , joystick button 1 , joystick button 2 … A specific button on a specific joystick joystick 1 button 0 , joystick 1 button 1 , joystick 2 button 0 … You can also query input for a specific key or bu...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_acec9d8c3cf4
unity_docs
editor
What is `Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle.GetReaderArray` in Unity? Explain its purpose and usage.
AtomicSafetyHandle.GetReaderArray Declaration public static int GetReaderArray ( Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle , int maxCount , IntPtr output ); Parameters Parameter Description handle The AtomicSafetyHandle to return readers for. maxCount The maximum number of AtomicSafety...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_d3952d5cb1f4
unity_docs
scripting
What is `Unity.Android.Gradle.BundleElement` in Unity? Explain its purpose and usage.
BundleElement class in Unity.Android.Gradle / Inherits from: Unity.Android.Gradle.BaseBlock Description A class to define elements inside bundle block. Properties Property Description EnableSplit The C# definition of the enableSplit property. Constructors Constructor Description BundleElement Element c...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_43e7dddd6d6e
unity_docs
rendering
In Unity's 'Lighting Settings Asset Inspector window reference', what is 'Mixed Lighting' and how does it work?
This section contains settings that affect the behavior of Baked Lights and Mixed Lights in Scenes that use this Lighting Settings Asset. Property Description Baked Global Illumination When this setting is enabled, Unity enables the Baked Global Illumination system for the Scenes that use this Lighting Settings Asset. ...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_e8ef46964d46
unity_docs
scripting
What are the parameters of `ParticleSystem.CustomDataModule.SetColor` in Unity?
Description Set a MinMaxGradient , in order to generate custom HDR color data. Additional resources: ParticleSystem.CustomDataModule.GetColor , ParticleSystem.GetCustomParticleData . ```csharp using UnityEngine; using System.Collections;[RequireComponent(typeof(ParticleSystem))] public class ExampleClass : MonoBehaviou...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_2450c0e70237
unity_docs
rendering
In Unity's 'Introduction to render pipelines', what is 'Render pipelines in Unity' and how does it work?
In Unity, you can choose between different render pipelines. Unity provides three prebuilt render pipelines with different capabilities and performance characteristics, or you can create your own. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that you can customize. It lets you create scalable gra...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_5d112fbb3524
unity_docs
math
What is `Mathf.NextPowerOfTwo` in Unity? Explain its purpose and usage.
Mathf.NextPowerOfTwo Declaration public static int NextPowerOfTwo (int value ); Description Returns the next power of two that is equal to, or greater than, the argument. ```csharp using UnityEngine;public class ExampleClass : MonoBehaviour { void Start() { //Prints 8 to the console Debug.Log(Mathf.NextPo...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_c8d89ff2c3ba
unity_docs
scripting
What is `MonoBehaviour.OnPreRender` in Unity? Explain its purpose and usage.
MonoBehaviour.OnPreRender() Description Event function that Unity calls before a Camera renders the scene. In the Built-in Render Pipeline, Unity calls OnPreRender on MonoBehaviours that are attached to the same GameObject as an enabled Camera component, just before that Camera renders the scene. Use OnPre...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_25a676630831
unity_docs
physics
What is `Rigidbody.maxLinearVelocity` in Unity? Explain its purpose and usage.
Rigidbody.maxLinearVelocity public float maxLinearVelocity ; Description The maximum linear velocity of the rigidbody measured in meters per second. The linear velocity of Rigidbody components is clamped to maxLinearVelocity to avoid numerical instability with fast moving bodies. The maxLinearVelocity is appli...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_9f5fa52db8aa
unity_docs
math
What is `IMGUI.Controls.PrimitiveBoundsHandle.GetSize` in Unity? Explain its purpose and usage.
PrimitiveBoundsHandle.GetSize Declaration protected Vector3 GetSize (); Returns Vector3 The current size of the bounding volume for this instance. Description Gets the current size of the bounding volume for this instance. All axes of the returned Vector3 will always have positive values. Any disabled...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_5301e8daaeca
unity_docs
scripting
What are the parameters of `Handles.ArrowHandleCap` in Unity?
Description Draw an arrow like those used by the move tool. On EventType.Layout event, calculates handle distance to mouse and calls HandleUtility.AddControl accordingly. On EventType.Repaint event, draws the handle shape. Arrow Handle Cap in the Scene View. Add the following script to your Assets folder as ArrowExampl...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_3691f332eb7a
unity_docs
rendering
Show me a Unity code example for 'Set the depth testing mode in a shader'.
Depth testing allows GPUs that have “Early-Z” functionality to reject geometry early in the pipeline, and also ensures correct ordering of the geometry. You can change the conditions of depth testing to achieve visual effects such as object occlusion. ## Examples This example code demonstrates the syntax for using th...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_bbe0db545aca
unity_docs
rendering
What is `RenderTextureFormat.RGHalf` in Unity? Explain its purpose and usage.
RenderTextureFormat.RGHalf Description Two color (RG) render texture format, 16 bit floating point per channel. Note that not all graphics cards support floating point render textures. Use SystemInfo.SupportsRenderTextureFormat to check for support. Additional resources: RenderTexture class, SystemInfo.Support...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_25664bcd55fc
unity_docs
editor
In Unity's 'Create custom Editor Windows with IMGUI', what is 'Implementing Your Window’s GUI' and how does it work?
The actual contents of the window are rendered by implementing the OnGUI function. You can use the same UnityGUI classes you use for your ingame GUI ( GUI and GUILayout ). In addition we provide some additional GUI controls, located in the editor-only classes EditorGUI and EditorGUILayout . These classes add to the con...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_f72687f45354
unity_docs
rendering
Explain 'Reflective Normal mapped Vertex-lit' in Unity.
Note. Unity 5 introduced the Standard Shader which replaces this shader . ## Reflective Properties Note. Unity 5 introduced the Standard Shader which replaces this shader. This shader will simulate reflective surfaces such as cars, metal objects etc. It requires an environment Cubemap which will define what exactly i...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
gh_b98ea4c119c2
github
scripting
Write a Unity C# MonoBehaviour script called Simple Address
```csharp using UnityEngine; using UnityEngine.Serialization; namespace PassivePicasso.SimplyAddress { public class SimpleAddress : MonoBehaviour { protected string lastAddress; [FormerlySerializedAs("Key")] public string Address; } } ```
You are a knowledgeable Unity developer. Explain Unity concepts clearly and provide practical, tested code examples.
local_sr_1c32c6e537a3
unity_docs
rendering
What is `Rendering.RayTracingInstanceTriangleCullingConfig` in Unity? Explain its purpose and usage.
RayTracingInstanceTriangleCullingConfig struct in UnityEngine.Rendering / Implemented in: UnityEngine.CoreModule Description This structure is used by RayTracingAccelerationStructure.CullInstances function to determine triangle culling and vertex winding order for ray tracing instances. Additional resources: ...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_a8d03a64581f
unity_docs
rendering
Give me an overview of the `AndroidETC2FallbackOverride` class in Unity.
AndroidETC2FallbackOverride enumeration Description This enumeration has values for different qualities to decompress an ETC2 texture on Android devices that don't support the ETC2 texture format. Properties Property Description UseBuildSettings Use the value defined in Player build settings. Quality32Bit Text...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_4145438fea84
unity_docs
ui
What is `UIElements.TreeViewController` in Unity? Explain its purpose and usage.
TreeViewController class in UnityEngine.UIElements / Inherits from: UIElements.BaseTreeViewController / Implemented in: UnityEngine.UIElementsModule Description Tree view controller. View controllers of this type are meant to take care of data virtualized by any TreeView inheritor. Properties Property ...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_ad267145a67f
unity_docs
ui
Show me a Unity code example for 'Test conditional compilation'.
The following example shows how to test your conditionally compiled code. It also prints a message based on the platform selected for the target build. ## Sample code ```csharp using UnityEngine; using System.Collections; public class PlatformDefines : MonoBehaviour { void Start () { #if UNITY_EDITOR Debug.Log(...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_9375dc9a2b52
unity_docs
rendering
In Unity's 'Fallback block in ShaderLab reference', what is 'Syntax' and how does it work?
To assign a fallback, you place a Fallback block inside a Shader block. Signature Function Fallback "<name>" If no compatible SubShaders are found, use the named Shader object. Fallback Off Do not use a fallback Shader object in place of this one. If no compatible SubShaders are found, display the error shader .
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_3592a25ff90f
unity_docs
performance
What is `Jobs.IJobParallelForTransform` in Unity? Explain its purpose and usage.
IJobParallelForTransform interface in UnityEngine.Jobs Description An interface that allows you to perform the same independent operation for each position, rotation and scale of all the transforms passed into a job. ```csharp using UnityEngine; using Unity.Collections; using Unity.Jobs; using UnityEngine.Jobs;cl...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_d1cd82005745
unity_docs
scripting
What is `Unity.Collections.LowLevel.Unsafe.DisposeSentinel.Clear` in Unity? Explain its purpose and usage.
DisposeSentinel.Clear Declaration public static void Clear (ref Unity.Collections.LowLevel.Unsafe.DisposeSentinel sentinel ); Parameters Parameter Description sentinel The DisposeSentinel to clear. Description Clears the DisposeSentinel . A DisposeSentinel is usually cleared when the related Nativ...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_38fd0149bd30
unity_docs
animation
What is `Animations.AnimationHumanStream.SetLookAtPosition` in Unity? Explain its purpose and usage.
AnimationHumanStream.SetLookAtPosition Declaration public void SetLookAtPosition ( Vector3 lookAtPosition ); Parameters Parameter Description lookAtPosition The look at position. Description Sets the look at position in world space. Additional resources: SolveIK , SetLookAtBodyWeight , SetLookAtHeadWe...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_00938467b143
unity_docs
scripting
Show me a Unity code example for 'Make the camera perspective oblique'.
and the camera’s center line gets smaller. For further information about the Physical Camera options, see documentation on Physical Cameras . ## Setting frustum obliqueness using a script The following script example shows how to quickly achieve an oblique frustum by altering the camera’s projection matrix. Note that...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
gh_8f542aebd9f9_doc_3
github
scripting
What does `this member` do in this Unity script? Explain its purpose and signature.
Rigidbody component receives a special class to always save its data. Signature: ```csharp public RigidbodyData rData; ```
You are a knowledgeable Unity developer. Explain Unity concepts clearly and provide practical, tested code examples.
local_sr_b90a602ea358
unity_docs
performance
Give me an overview of the `GfxThreadingMode` class in Unity.
GfxThreadingMode enumeration Description Enum used to specify the threading mode to use. Additional resources: PlayerSettings.graphicsThreadingMode. Properties Property Description Direct Direct threading mode. NonThreaded SingleThreaded mode. Threaded MultiThreaded mode. ClientWorkerJobs Legacy Graphics Jo...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_6ee5a66066c5
unity_docs
scripting
What is `PluginImporter.SetCompatibleWithPlatform` in Unity? Explain its purpose and usage.
PluginImporter.SetCompatibleWithPlatform Declaration public void SetCompatibleWithPlatform ( BuildTarget platform , bool enable ); Declaration public void SetCompatibleWithPlatform (string platformName , bool enable ); Parameters Parameter Description platform Target platform. enable Is plugin comp...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_sr_82306bdb47fb
unity_docs
scripting
What are the parameters of `EditorGUI.Vector4Field` in Unity?
Returns Vector4 The value entered by the user. Description Makes an X, Y, Z, and W field for entering a Vector4 . Vector4 field in an Editor Window. ```csharp using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor;// Editor window that shows the detailed rotation (X,Y,Z and W c...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.
local_man_9052783007f6
unity_docs
editor
In Unity's 'Search the Unity Editor main menu', what is 'Actions' and how does it work?
Default action: Executes the menu command. Notes: For commands like Create , make sure you’re in the correct folder in the Project window before executing the command. For commands that interact with GameObjects in the Hierarchy window, make sure to select the correct GameObject in the Hierarchy window before executing...
You are a Unity game development assistant. Help developers understand Unity APIs, best practices, and solve implementation challenges.