Replace button serializable action with unity event. Rename package namespace names to follow typical conventions.

This commit is contained in:
2025-11-05 19:43:23 +01:00
parent ea125c7c8f
commit a4ec9f4801
5 changed files with 5 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using SerializableFunc.Runtime;
using SerializableFunc;
using UnityEditor;
using UnityEditor.UIElements;
using UnityEditorInternal;

View File

@@ -4,7 +4,7 @@ using System.Reflection;
using UnityEngine;
using Object = UnityEngine.Object;
namespace SerializableFunc.Runtime
namespace SerializableFunc
{
[Serializable]
public class SerializableAction

View File

@@ -1,6 +1,6 @@
{
"name": "SerializableFunc.Runtime",
"rootNamespace": "SerializableFunc.Runtime",
"rootNamespace": "SerializableFunc",
"references": [],
"includePlatforms": [],
"excludePlatforms": [],

View File

@@ -1,6 +1,6 @@
using System;
namespace SerializableFunc.Runtime
namespace SerializableFunc
{
[Serializable]
public class SerializableFunc<TReturn> : SerializableFuncBase<Func<TReturn>>

View File

@@ -3,7 +3,7 @@ using System.Linq;
using System.Reflection;
using UnityEngine;
namespace SerializableFunc.Runtime
namespace SerializableFunc
{
[Serializable]
public abstract class SerializableFuncBase<TFuncType> where TFuncType : Delegate