Removed Many Things

This commit is contained in:
CortexCore
2024-08-13 18:42:51 +08:00
parent c563c539a5
commit 79985ad6f5
1363 changed files with 5892 additions and 71512 deletions

View File

@@ -1,7 +1,6 @@
using System;
using System.Collections;
using System.Collections.Generic;
using BITKit.Events;
using UnityEngine;
using UnityEngine.UIElements;
@@ -12,7 +11,6 @@ namespace BITKit.UX.DataBind
[SerializeReference, SubclassSelector] protected IReference dataName;
[SerializeReference, SubclassSelector] protected IReference visualElementName;
[SerializeField] protected UIDocument document;
[SerializeField] protected UnityEvent onData;
protected TVisualElement visualElement { get; private set; }
protected virtual void Start()
@@ -27,7 +25,6 @@ namespace BITKit.UX.DataBind
{
if (visualElement is INotifyValueChanged<TData> notifyValueChanged)
notifyValueChanged.SetValueWithoutNotify(obj);
onData.Invoke(obj);
}
private void OnValueChanged(ChangeEvent<TData> changeEvent)
{