UnityEvent 和 System.Func 具有子类
Lets you drag-and-drop methods with or without return values / parameters in the Unity inspector. It uses expression trees and reflection to cache a delegate on first execution.
Usage is identical to UnityEvent
…| Performance (100000 iterations) | Time |
|---|---|
| bool Method(float) | 00.00304s |
| SerializedCallback (Persistent) | 00.01026s |
| SerializedCallback (Dynamic) | 00.00797s |
To install this project as a dependency using the Unity Package Manager,
add the following line to your project's manifest.json:
"com.github.siccity.serializablecallback": "git+https://github.com/Siccity/SerializableCallback.git"Join the Discord server to leave feedback or get support.
暂无开放 Issues,或尚未同步最近议题。