Replace button serializable action with unity event. Rename package namespace names to follow typical conventions.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Reflection;
|
||||
using UnityEngine;
|
||||
using Object = UnityEngine.Object;
|
||||
|
||||
namespace SerializableFunc.Runtime
|
||||
namespace SerializableFunc
|
||||
{
|
||||
[Serializable]
|
||||
public class SerializableAction
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "SerializableFunc.Runtime",
|
||||
"rootNamespace": "SerializableFunc.Runtime",
|
||||
"rootNamespace": "SerializableFunc",
|
||||
"references": [],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SerializableFunc.Runtime
|
||||
namespace SerializableFunc
|
||||
{
|
||||
[Serializable]
|
||||
public class SerializableFunc<TReturn> : SerializableFuncBase<Func<TReturn>>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user