mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-06-03 18:49:23 +08:00
修改EffectSingleCase.show方法为public
This commit is contained in:
@@ -134,7 +134,7 @@ export class EffectSingleCase {
|
||||
* @param parent 父节点
|
||||
* @param params 显示参数
|
||||
*/
|
||||
private show(path: string, parent?: Node, params?: IEffectParams): Node {
|
||||
show(path: string, parent?: Node, params?: IEffectParams): Node {
|
||||
var np = this.effects.get(path);
|
||||
if (np == null) {
|
||||
np = new NodePool();
|
||||
@@ -154,7 +154,6 @@ export class EffectSingleCase {
|
||||
// 池中获取没使用的显示对象
|
||||
else {
|
||||
node = np.get()!;
|
||||
node.getComponent(EffectFinishedRelease);
|
||||
}
|
||||
|
||||
// 设置动画播放速度
|
||||
|
||||
Reference in New Issue
Block a user