Update Runtime/SerializableFunc/Base/SerializableFuncBase.cs
This commit is contained in:
@@ -17,6 +17,18 @@ namespace UnityUtilities.SerializableDataHelpers
|
||||
|
||||
private static BindingFlags SuitableMethodsFlags = BindingFlags.FlattenHierarchy | BindingFlags.Public | BindingFlags.Instance;
|
||||
|
||||
public UnityEngine.Object TargetObject
|
||||
{
|
||||
get => targetObject;
|
||||
set => targetObject = value;
|
||||
}
|
||||
|
||||
public string MethodName
|
||||
{
|
||||
get => methodName;
|
||||
set => methodName = value;
|
||||
}
|
||||
|
||||
protected TFuncType GetReturnedFunc()
|
||||
{
|
||||
if (func == null)
|
||||
|
||||
Reference in New Issue
Block a user