IUnified 1.3.14 接口管理插件
Use C# interfaces within Unity!
With this package you can create interface fields for your MonoBehaviour or ScriptableObject scripts and be able to set them to any serialized object that implements your interface from within the editor - just drag and drop like any regular Unity object or select your implementation from a list!
It is fully serialized and integrated into Unity and includes it's own property drawer and selection window that shows all objects and components that implement the interface.
No need for you to create custom editors or property drawers, it all happens automatically!
在 Unity 中使用 C# 接口!
使用此包,您可以为 MonoBehaviour 或 ScriptableObject 脚本创建接口字段,并能够将它们设置为在编辑器中实现接口的任何序列化对象 - 只需像任何常规 Unity 对象一样进行拖放,或从列表中选择您的实现!
它已完全序列化并集成到 Unity 中,并包含自己的属性抽屉和选择窗口,可显示实现接口的所有对象和组件。
您无需创建自定义编辑器或属性抽屉,一切都会自动发生!
页:
[1]