mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 12:28:03 +08:00
destroy -> remove for components
This commit is contained in:
@ -46,7 +46,7 @@ class MyGame extends BaseGame with TapDetector {
|
||||
textureSize: size,
|
||||
stepTime: 0.15,
|
||||
loop: false,
|
||||
destroyOnFinish: true,
|
||||
removeOnFinish: true,
|
||||
);
|
||||
|
||||
animationComponent.position = animationComponent.position - size / 2;
|
||||
|
||||
Reference in New Issue
Block a user