Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
能不能实现一段剧情看第一遍不能跳过但第二遍重复看就可以跳过的功能
弄个辞典对象或者搞个全局变量,每次播放对话的事件里,加一个数值判断的条件,如果数值满足条件,则允许跳过,否则不允许跳过,然后播放完一次后,把这个数值从初始值改成满足条件的值(例如数值一开始是0,满足条件时是1,一开始就会因为不满足条件无法跳过,播放完数值会固定被设置成1,下一次再来播放就满足条件了,就能跳过了),大致是这样的思路,具体做法根据你的逻辑设置方式去发散就行了。
哦哦哦了解了,感谢!