Adaug proiectul Unity

This commit is contained in:
2026-11-01 23:39:55 +02:00
parent cb14d9d37d
commit 863eac8f2c
23463 changed files with 5412601 additions and 0 deletions
@@ -0,0 +1,3 @@
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Unity.ShaderGraph.Editor")]
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: c32b02309f04b344ca1c4fad2f488866
@@ -0,0 +1,24 @@
using GraphViewIconBadge = UnityEditor.Experimental.GraphView.IconBadge;
namespace UnityEditor.ShaderGraph.InternalBridge
{
// Wrapper class for internal access to GraphView's IconBadge.
// Allows for creation of badges which don't manually layout their label's dimensions. Works around
// a GraphView bug.
internal static class IconBadge
{
public static GraphViewIconBadge CreateError(string message)
{
var result = GraphViewIconBadge.CreateError(message);
result.m_ComputeTextBoundingBox = false;
return result;
}
public static GraphViewIconBadge CreateComment(string message)
{
var result = GraphViewIconBadge.CreateComment(message);
result.m_ComputeTextBoundingBox = false;
return result;
}
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 5c787299c2fabe242bc0bd089105b90e
@@ -0,0 +1,18 @@
using System.Collections.Generic;
using System;
using UnityEngine;
namespace UnityEditor.ShaderGraph.InternalBridge
{
internal static class ObjectSelector
{
public static void Show(UnityEngine.Object obj, Type requiredType, UnityEngine.Object objectBeingEdited,
bool allowSceneObjects, List<EntityId> allowedEntityIds = null,
Action<UnityEngine.Object> onObjectSelectorClosed = null,
Action<UnityEngine.Object> onObjectSelectedUpdated = null, bool showNoneItem = true)
{
UnityEditor.ObjectSelector.get.Show(obj, requiredType, objectBeingEdited, allowSceneObjects,
allowedEntityIds, onObjectSelectorClosed, onObjectSelectedUpdated, showNoneItem);
}
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: a6e816750db52e34e8e463c3377a974e
@@ -0,0 +1,16 @@
{
"name": "Unity.InternalAPIEditorBridge.ShaderGraph.Editor",
"rootNamespace": "",
"references": [],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 1a9e721432c3e5048950da7f3cf524e7
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: