update CCK to 3.10, fixing unity 2021 crash :)
This commit is contained in:
parent
48a978fa2a
commit
d11e0fb3a9
492 changed files with 2165204 additions and 437687 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue