DoorwayCleanup is now obselete
Created new scripting system Added toggle for EventCallbackScenario for DevDebug window
This commit is contained in:
parent
4af194e0f4
commit
25530ebbb3
36 changed files with 2467 additions and 24 deletions
|
|
@ -0,0 +1,27 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEditor;
|
||||
using UnityEngine.UIElements;
|
||||
using DunGenPlus;
|
||||
using DunGenPlus.Collections;
|
||||
using DunGenPlus.Components.Scripting;
|
||||
using UnityEditor.UIElements;
|
||||
|
||||
namespace DunGenPlusEditor {
|
||||
|
||||
[CustomPropertyDrawer(typeof(NamedGameObjectReference))]
|
||||
public class NamedGameObjectReferencePropertyDrawer : PropertyDrawer {
|
||||
public override VisualElement CreatePropertyGUI(SerializedProperty property) {
|
||||
|
||||
var container = new VisualElement();
|
||||
container.Add(new PropertyField(property.FindPropertyRelative("name")));
|
||||
container.Add(new PropertyField(property.FindPropertyRelative("gameObjects")));
|
||||
container.Add(new PropertyField(property.FindPropertyRelative("overrideState")));
|
||||
|
||||
return container;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue