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 @@
fileFormatVersion: 2
guid: ceb46eb2d5b64017b74f9fb0e50fdf1e
timeCreated: 1764677430
@@ -0,0 +1,12 @@
namespace Unity.PlasticSCM.Editor.UnityInternals.UnityEditor
{
internal class ContainerWindow
{
internal object InternalObject { get; }
internal ContainerWindow(object containerWindow)
{
InternalObject = containerWindow;
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 0bb6b8b3dfca43538b7ef0bff1d13780
timeCreated: 1764683972
@@ -0,0 +1,68 @@
using System.Reflection;
using UnityEngine;
using UnityEngine.Internal;
using UnityEditorGUI = UnityEditor.EditorGUI;
namespace Unity.PlasticSCM.Editor.UnityInternals.UnityEditor
{
internal static class EditorGUI
{
// Delegate that matches the signature of ScrollableTextAreaInternal
internal delegate string ScrollableTextAreaInternalDelegate(
Rect position,
string text,
ref Vector2 scrollPosition,
GUIStyle style);
// This will be set by Unity.Cloud.Collaborate assembly
internal static ScrollableTextAreaInternalDelegate ScrollableTextAreaInternal { get; set; }
internal delegate void DrawOutlineDelegate(Rect rect, float size, Color color);
internal static DrawOutlineDelegate DrawOutline { get; set; }
internal static RecycledTextEditor activeEditor
{
get
{
FieldInfo activeEditorField = typeof(UnityEditorGUI).GetField(
"activeEditor",
BindingFlags.Static | BindingFlags.NonPublic);
if (activeEditorField == null)
return null;
object activeEditor = activeEditorField.GetValue(null);
if (activeEditor == null)
return null;
return new RecycledTextEditor(activeEditor as TextEditor);
}
}
internal static void LabelField(
Rect position, string label, [DefaultValue("EditorStyles.label")] GUIStyle style)
{
UnityEditorGUI.LabelField(position, label, style);
}
internal class RecycledTextEditor
{
internal TextEditor InternalObject;
internal RecycledTextEditor(TextEditor recycledTextEditor)
{
InternalObject = recycledTextEditor;
}
internal void EndEditing() => InternalEndEditing(this);
internal delegate void EndEditingDelegate(RecycledTextEditor recycledTextEditor);
internal static EndEditingDelegate InternalEndEditing { get; set; }
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 66b140cd6be9479ab524a58f460a694d
timeCreated: 1763116828
@@ -0,0 +1,9 @@
namespace Unity.PlasticSCM.Editor.UnityInternals.UnityEditor
{
internal static class InternalEditorGUIUtility
{
internal delegate bool HasCurrentWindowKeyFocusDelegate();
internal static HasCurrentWindowKeyFocusDelegate HasCurrentWindowKeyFocus { get; set; }
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9e014c1d5026c446a92925295a6a1471
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,9 @@
namespace Unity.PlasticSCM.Editor.UnityInternals.UnityEditor
{
internal static class EditorUtility
{
internal delegate void Internal_UpdateAllMenusDelegate();
internal static Internal_UpdateAllMenusDelegate Internal_UpdateAllMenus { get; set; }
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 399b9baa7c7d47729fb3930f4d588602
timeCreated: 1764681468
@@ -0,0 +1,23 @@
using UnityEditorWindow = UnityEditor.EditorWindow;
namespace Unity.PlasticSCM.Editor.UnityInternals.UnityEditor
{
internal static class UnityEditorExtensions
{
internal static HostView m_Parent(this UnityEditorWindow editorWindow)
{
return m_ParentInternal(editorWindow);
}
internal static void ShowWithMode(this UnityEditorWindow editorWindow, int mode)
{
ShowWithModeInternal(editorWindow, mode);
}
internal delegate HostView m_ParentDelegate(UnityEditorWindow editorWindow);
internal static m_ParentDelegate m_ParentInternal { get; set; }
internal delegate void ShowWithModeDelegate(UnityEditorWindow editorWindow, int mode);
internal static ShowWithModeDelegate ShowWithModeInternal { get; set; }
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 8cb6c3d9c38f4b67b0ae9dc6ebdfecff
timeCreated: 1764677585
@@ -0,0 +1,13 @@
using UnityEditorWindow = UnityEditor.EditorWindow;
namespace Unity.PlasticSCM.Editor.UnityInternals.UnityEditor
{
internal class EditorWindow
{
internal delegate UnityEditorWindow GetInspectorWindowDelegate();
internal static GetInspectorWindowDelegate GetInspectorWindow { get; set; }
internal delegate void Internal_MakeModalDelegate(ContainerWindow window);
internal static Internal_MakeModalDelegate Internal_MakeModal { get; set; }
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 68257d0bed044311b8c3688c35a4497b
timeCreated: 1764684466
@@ -0,0 +1,30 @@
using UnityEngine;
using UnityGenericMenu = UnityEditor.GenericMenu;
namespace Unity.PlasticSCM.Editor.UnityInternals.UnityEditor
{
internal class GenericMenu
{
internal class MenuItem
{
internal object InternalObject;
internal GUIContent content => GetContent(this);
internal UnityGenericMenu.MenuFunction func => GetFunc(this);
internal MenuItem(object menuItem)
{
InternalObject = menuItem;
}
internal delegate GUIContent GetContentDelegate(MenuItem menuItem);
internal static GetContentDelegate GetContent { get; set; }
internal delegate UnityGenericMenu.MenuFunction GetFuncDelegate(MenuItem menuItem);
internal static GetFuncDelegate GetFunc { get; set; }
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 821bfc9e29fe4f879430e080c75925f9
timeCreated: 1764750844
@@ -0,0 +1,18 @@
using System.Collections.Generic;
using UnityGenericMenu = UnityEditor.GenericMenu;
namespace Unity.PlasticSCM.Editor.UnityInternals.UnityEditor
{
internal static class GenericMenuExtensions
{
internal static List<GenericMenu.MenuItem> menuItems(this UnityGenericMenu genericMenu)
{
return GetMenuItems(genericMenu);
}
internal delegate List<GenericMenu.MenuItem> GetMenuItemsDelegate(UnityGenericMenu genericMenu);
internal static GetMenuItemsDelegate GetMenuItems { get; set; }
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 1181856e3fc64a12b4e5d404d501e989
timeCreated: 1764750296
@@ -0,0 +1,35 @@
using UnityEditorWindow = UnityEditor.EditorWindow;
namespace Unity.PlasticSCM.Editor.UnityInternals.UnityEditor
{
class HostView
{
internal object InternalObject { get; }
internal UnityEditorWindow m_ActualView => GetActualViewInternal(this);
internal ContainerWindow window => GetWindow(this);
internal HostView(object hostView)
{
InternalObject = hostView;
}
internal delegate UnityEditorWindow GetActualViewDelegate(HostView hostView);
internal static GetActualViewDelegate GetActualViewInternal { get; set; }
internal delegate ContainerWindow GetWindowDelegate(HostView hostView);
internal static GetWindowDelegate GetWindow { get; set; }
}
internal class DockArea : HostView
{
internal DockArea(object hostView) : base(hostView) { }
internal void AddTab(UnityEditorWindow pane, bool sendPaneEvents = true)
{
AddTabInternal(this, pane, sendPaneEvents);
}
internal delegate void AddTabDelegate(DockArea dockArea, UnityEditorWindow pane, bool sendPaneEvents = true);
internal static AddTabDelegate AddTabInternal { get; set; }
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 73186521cb8e4de3a13721da02015040
timeCreated: 1764677539
@@ -0,0 +1,28 @@
using System;
using UnityMenu = UnityEditor.Menu;
namespace Unity.PlasticSCM.Editor.UnityInternals.UnityEditor
{
internal static class Menu
{
internal delegate void AddMenuItemDelegate(
string name,
string shortcut,
bool @checked,
int priority,
Action execute,
Func<bool> validate);
internal static AddMenuItemDelegate AddMenuItem { get; set; }
internal delegate void RemoveMenuItemDelegate(string name);
internal static RemoveMenuItemDelegate RemoveMenuItem { get; set; }
internal static bool GetEnabled(string menuPath)
{
return UnityMenu.GetEnabled(menuPath);
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 25c3ae07f84c4ba3954e07becf193460
timeCreated: 1764680906
@@ -0,0 +1,23 @@
namespace Unity.PlasticSCM.Editor.UnityInternals.UnityEditor
{
internal struct SavedGUIState
{
internal object InternalObject { get; }
internal SavedGUIState(object savedGuiState)
{
InternalObject = savedGuiState;
}
internal void ApplyAndForget()
{
ApplyAndForgetInternal(this);
}
internal delegate SavedGUIState CreateDelegate();
internal static CreateDelegate Create { get; set; }
internal delegate void ApplyAndForgetDelegate(SavedGUIState savedGUIState);
internal static ApplyAndForgetDelegate ApplyAndForgetInternal { get; set; }
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 6f5a38a89d734da9bcdfeffe252daed4
timeCreated: 1764684957
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 58ea190e1cd94c2ca3a4b39e76639f7c
timeCreated: 1764749423
@@ -0,0 +1,29 @@
using System.Reflection;
using UnityEditor.SceneManagement;
namespace Unity.PlasticSCM.Editor.UnityInternals.UnityEditor.SceneManagement
{
internal static class PrefabStageExtensions
{
internal static bool Save(this PrefabStage prefabStage)
{
return SaveInternal(prefabStage);
}
internal static void AutoSave(this PrefabStage prefabStage)
{
MethodInfo autoSavePrefabMethod = typeof(PrefabStage).GetMethod(
"AutoSave", BindingFlags.NonPublic | BindingFlags.Instance);
if (autoSavePrefabMethod == null)
return;
autoSavePrefabMethod.Invoke(prefabStage, null);
}
internal delegate bool SaveDelegate(PrefabStage prefabStage);
internal static SaveDelegate SaveInternal { get; set; }
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: d70feb2c54194e908a40806cbe2fa27f
timeCreated: 1764749430
@@ -0,0 +1,32 @@
using UnityEditor;
using UnityEditorWindow = UnityEditor.EditorWindow;
namespace Unity.PlasticSCM.Editor.UnityInternals.UnityEditor
{
internal class SettingsWindow
{
internal object InternalObject { get; }
internal SettingsWindow(object settingsWindow)
{
InternalObject = settingsWindow;
}
internal static SettingsWindow Show(SettingsScope scopes, string settingsPath)
{
return ShowInternal(scopes, settingsPath);
}
internal static bool IsProjectSettingsWindow(UnityEditorWindow editorWindow)
{
return IsProjectSettingsWindowInternal(editorWindow);
}
internal delegate SettingsWindow ShowDelegate(SettingsScope scopes, string settingsPath);
internal static ShowDelegate ShowInternal { get; set; }
internal delegate bool IsProjectSettingsWindowDelegate(UnityEditorWindow editorWindow);
internal static IsProjectSettingsWindowDelegate IsProjectSettingsWindowInternal { get; set; }
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: c4f779ee37894d99adede8127ac9961d
timeCreated: 1764677491
@@ -0,0 +1,27 @@
using UnityEngine;
namespace Unity.PlasticSCM.Editor.UnityInternals.UnityEditor
{
internal static class SplitterGUILayout
{
internal delegate void BeginHorizontalSplitDelegate(
SplitterState splitterState,
params GUILayoutOption[] guiLayoutOptions);
internal static BeginHorizontalSplitDelegate BeginHorizontalSplit { get; set; }
internal delegate void EndHorizontalSplitDelegate();
internal static EndHorizontalSplitDelegate EndHorizontalSplit { get; set; }
internal delegate void BeginVerticalSplitDelegate(
SplitterState splitterState,
params GUILayoutOption[] guiLayoutOptions);
internal static BeginVerticalSplitDelegate BeginVerticalSplit { get; set; }
internal delegate void EndVerticalSplitDelegate();
internal static EndVerticalSplitDelegate EndVerticalSplit { get; set; }
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: cb7cc48c799b4b86937fe77898c0c8c4
timeCreated: 1764690620
@@ -0,0 +1,20 @@
namespace Unity.PlasticSCM.Editor.UnityInternals.UnityEditor
{
internal class SplitterState
{
internal object InternalObject;
internal float[] relativeSizes => GetRelativeSizes(this);
internal SplitterState(float[] relativeSizes, int[] minSizes, int[] maxSizes)
{
InternalObject = Constructor(relativeSizes, minSizes, maxSizes);
}
internal delegate object ConstructorDelegate(float[] relativeSizes, int[] minSizes, int[] maxSizes);
internal static ConstructorDelegate Constructor { get; set; }
internal delegate float[] GetRelativeSizesDelegate(SplitterState splitterState);
internal static GetRelativeSizesDelegate GetRelativeSizes { get; set; }
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 489341d280ec4f84966df11c8c6804d4
timeCreated: 1764689961
@@ -0,0 +1,37 @@
using System.Reflection;
using UnityEditor.IMGUI.Controls;
#if UNITY_6000_2_OR_NEWER
using TreeView = UnityEditor.IMGUI.Controls.TreeView<int>;
#endif
namespace Unity.PlasticSCM.Editor.UnityInternals.UnityEditor
{
internal static class TreeViewExtensions
{
internal static void RaiseContextClickedItem(this TreeView treeView)
{
MethodInfo InternalContextClickedItem = treeView.GetType().GetMethod(
"ContextClickedItem",
BindingFlags.Instance | BindingFlags.NonPublic);
if (InternalContextClickedItem == null)
return;
InternalContextClickedItem.Invoke(treeView, new object[] { -1 });
}
internal static void RaiseContextClicked(this TreeView treeView)
{
MethodInfo InternalContextClicked = treeView.GetType().GetMethod(
"ContextClicked",
BindingFlags.Instance | BindingFlags.NonPublic);
if (InternalContextClicked == null)
return;
InternalContextClicked.Invoke(treeView, null);
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d269c0e04a783b442bf23b3dc868a625
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,9 @@
namespace Unity.PlasticSCM.Editor.UnityInternals.UnityEditor
{
internal static class Unsupported
{
internal delegate ulong GetFileIDHintDelegate(UnityEngine.Object obj);
internal static GetFileIDHintDelegate GetFileIDHint { get; set; }
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a0c766476de1f4df7b85aa44e065e0c0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: