更新时间:2022-01-22 22:05:18
我写了一个小助手代表来处理这个问题: https://github.com/ice3 - 软件/节点存档委托。它使用 NSKeyedUnarchiverDelegate
按名称对子精灵进行子类化。
I wrote a little helper delegate to deal with this: https://github.com/ice3-software/node-archive-delegate. It uses the NSKeyedUnarchiverDelegate
to subclass your sprites by name.