在这里我仅添加另一样东西,即“类修饰”,这是很多插件创作者都使用的。
I'll just add one other thing here, and that's the idea of "class decoration," which so many plug-in authors have taken to using as well.
我用同样的方法对所有外墙也进行了修饰,这确实花了我一段时间,但我认为这是完全值得的,因为我找不到可以做到这点的其他任何插件或方法。
I used the same method for all facades so it took a while but it was totally worth it because I couldn't get this close with any other plugin or method.
动态注销修饰器插件,参数是模板修饰器的名称。
Use this to dynamically unregister modifier plugin. Pass in the template modifier name.
应用推荐