SpriteKit 粒子发射器未出现在 Xcode 编辑器中 [英] SpriteKit Particle Emitter Not Appearing in Xcode Editor

查看:27
本文介绍了SpriteKit 粒子发射器未出现在 Xcode 编辑器中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直遇到粒子效果没有出现在编辑器中的问题.当我第一次创建它们时一切正常,但一段时间后它们不再出现.我只看到黑色背景,但没有粒子.

I'm having a constant issue of particle effects not appearing in the editor. Everything works fine when I first create them, but after some time they stop appearing. I just see the black background, but the particles aren't there.

我能够处理这个问题的唯一方法是删除节点并创建一个具有相同属性的新粒子节点,这既费时又烦人.然后,过了一会儿,同样的事情发生在新的粒子节点上.

The only way I'm able to deal with this problem is to delete the node and create a new particle node with the same attributes, which is time consuming and annoying. And then, after a while, the same thing happens to the new particle nodes.

还有其他人遇到过这种情况吗?

Anyone else experience this?

推荐答案

在我编辑一个值并切换到另一个页面的代码视图后,这种情况一直发生在我身上.回来,预览不见了.可以确认它在 Xcode 7.3 Beta 中仍然损坏

This happens to me all of time after editing a value and switching to code view of another page. Come back and the preview is gone. Can confirm it is still broken in Xcode 7.3 Beta

在 Apple 修复之前,有几种家庭疗法是有效的.

There are a couple of home remedies that work until it gets fixed by Apple.

右键单击文件 --> 打开为 --> 快速查看选择一个不同的文件然后回来,它现在应该可以工作了

Right click on the file --> Open As --> Quick Look select a different file and come back and it should work now

使用文件关闭发射器文档 --> 关闭Particle.sks"(Control-Command-W)并重新打开它应该可以解决这个问题.

Close the emitter document with File --> Close "Particle.sks" (Control-Command-W) and reopening it should circumvent the issue.

希望这同时有所帮助

这篇关于SpriteKit 粒子发射器未出现在 Xcode 编辑器中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆