mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-16 00:22:29 +08:00
refactor(BulletBase): 移除子弹注册方法并添加子子弹标记
移除所有子弹类中的register方法,将属性初始化移至其他位置 在BulletBase的trySplit和tryRefract方法中添加子子弹标记
This commit is contained in:
@@ -3,9 +3,6 @@ class_name BigLaser
|
||||
|
||||
var dotTime: float = 100
|
||||
|
||||
func register():
|
||||
speed = 0
|
||||
penerate = 1
|
||||
func spawn():
|
||||
CameraManager.shake(5000, 100) # 激光会运行5秒(5000毫秒),期间震屏超高强度
|
||||
CameraManager.playAnimation("bigLaser")
|
||||
|
||||
Reference in New Issue
Block a user