update CCK to 3.10, fixing unity 2021 crash :)

This commit is contained in:
Crispy 2024-08-03 22:24:42 +02:00
parent 48a978fa2a
commit d11e0fb3a9
492 changed files with 2165204 additions and 437687 deletions

View file

@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Text.RegularExpressions;
using ABI.CCK.Components;
using ABI.CCK.Scripts.Editor;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
@ -98,7 +99,6 @@ namespace ABI.CCK.Scripts.Editor
_rect = new Rect(rect.x, rect.y, 100, EditorGUIUtility.singleLineHeight);
var propertyList = new Dictionary<string, string>();
var rendererFound = false;
if (entity.Renderer != null)
{
@ -125,8 +125,6 @@ namespace ABI.CCK.Scripts.Editor
}
}
}
rendererFound = true;
}
}
@ -170,8 +168,8 @@ namespace ABI.CCK.Scripts.Editor
private void OnDrawHeader(Rect rect)
{
Rect _rect = new Rect(rect.x, rect.y, rect.width, EditorGUIUtility.singleLineHeight);
GUI.Label(_rect, "Materials");
EditorGUIExtensions.UtilityMenu(_rect, reorderableList);
}