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
|
@ -1,21 +1 @@
|
|||
using ABI.CCK.Components;
|
||||
using UnityEditor;
|
||||
|
||||
namespace ABI.CCK.Scripts.Editor
|
||||
{
|
||||
[CustomEditor(typeof(CVRToggleStateTrigger))]
|
||||
public class CCK_CVRToggleStateTriggerEditor : UnityEditor.Editor
|
||||
{
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
var triggers = ((CVRToggleStateTrigger) target).GetComponents<CVRToggleStateTrigger>();
|
||||
|
||||
if (triggers.Length > 1)
|
||||
{
|
||||
EditorGUILayout.HelpBox("Having multiple Triggers on the same GameObject will lead to unpredictable behavior!", MessageType.Error);
|
||||
}
|
||||
|
||||
base.OnInspectorGUI();
|
||||
}
|
||||
}
|
||||
}
|
||||
// remove mee
|
Loading…
Add table
Add a link
Reference in a new issue