mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-31 08:21:54 +08:00
feat(子弹): 添加链枪子弹资源与逻辑
添加链枪子弹的图片资源、脚本和场景文件 为RainbowCat子弹添加穿透属性和生命周期 在子弹AI预设中添加面向鼠标的功能
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
extends BulletBase
|
||||
|
||||
func ai():
|
||||
PresetBulletAI.faceToMouse(self)
|
||||
func applyDot():
|
||||
pass
|
||||
@@ -1,5 +1,7 @@
|
||||
extends BulletBase
|
||||
class_name RainbowCat
|
||||
|
||||
func register():
|
||||
penerate = 1
|
||||
func ai():
|
||||
PresetBulletAI.forward(self, rotation)
|
||||
|
||||
Reference in New Issue
Block a user