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.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using SerializableFunc.Runtime;
|
using SerializableFunc;
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEditor.UIElements;
|
using UnityEditor.UIElements;
|
||||||
using UnityEditorInternal;
|
using UnityEditorInternal;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ using System.Reflection;
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using Object = UnityEngine.Object;
|
using Object = UnityEngine.Object;
|
||||||
|
|
||||||
namespace SerializableFunc.Runtime
|
namespace SerializableFunc
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class SerializableAction
|
public class SerializableAction
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "SerializableFunc.Runtime",
|
"name": "SerializableFunc.Runtime",
|
||||||
"rootNamespace": "SerializableFunc.Runtime",
|
"rootNamespace": "SerializableFunc",
|
||||||
"references": [],
|
"references": [],
|
||||||
"includePlatforms": [],
|
"includePlatforms": [],
|
||||||
"excludePlatforms": [],
|
"excludePlatforms": [],
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SerializableFunc.Runtime
|
namespace SerializableFunc
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class SerializableFunc<TReturn> : SerializableFuncBase<Func<TReturn>>
|
public class SerializableFunc<TReturn> : SerializableFuncBase<Func<TReturn>>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using System.Linq;
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace SerializableFunc.Runtime
|
namespace SerializableFunc
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public abstract class SerializableFuncBase<TFuncType> where TFuncType : Delegate
|
public abstract class SerializableFuncBase<TFuncType> where TFuncType : Delegate
|
||||||
|
|||||||
Reference in New Issue
Block a user