HJDanmaku-Swift icon indicating copy to clipboard operation
HJDanmaku-Swift copied to clipboard

A high performance danmaku engine for iOS

Results 5 HJDanmaku-Swift issues
Sort by recently updated
recently updated
newest added

![](https://user-images.githubusercontent.com/15527791/125284008-88aca400-e34b-11eb-9ded-ec593af16fca.png)

`prepareDanmakus` will not set `self.isPrepared = true` if the input is an empty array, so I modify it to make sure the `self.isPrepared = true`.

我尝试了很多次,调用 play() 方法后都会报错 `isPrepared` == NO 的错误 guard self.isPrepared else { assert(false, "isPrepared is NO!") return }