This commit is contained in:
CortexCore
2024-03-31 23:31:00 +08:00
parent e179d2eb53
commit b7b89ee71a
641 changed files with 31286 additions and 22134 deletions

View File

@@ -26,6 +26,10 @@ namespace BITKit.Events
{
public List<UnityEventData> Targets = new List<UnityEventData>();
public void Invoke()
{
Invoke(Array.Empty<object>());
}
public void Invoke(params object[] objects)
{
foreach (var x in Targets)
@@ -170,6 +174,7 @@ namespace BITKit.Events
{
x.MethodName = changeEvent.newValue;
EditorUtility.SetDirty(_property.serializedObject.targetObject);
Update();
});
field.value = x.MethodName;