mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-09 13:17:12 +08:00
fix: 调整相机震动参数并优化组件管理器初始化
将BroomGun的相机震动持续时间从300调整为200,减少震动效果 移除WorldManager中手动调用ComponentManager.init() 在ComponentManager中添加静态初始化方法自动调用init()
This commit is contained in:
@@ -17,6 +17,9 @@ static var themes = {}
|
||||
static var fieldTextures = {}
|
||||
static var itemTextures = {}
|
||||
|
||||
static func _static_init() -> void:
|
||||
init()
|
||||
|
||||
static func init():
|
||||
for i in DirTool.listdir("res://components/Abstracts"):
|
||||
abstracts[DirTool.getBasenameWithoutExtension(i)] = load(i)
|
||||
|
||||
Reference in New Issue
Block a user