1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-09 13:17:12 +08:00

feat: 更新饲料和物品显示逻辑,添加香蕉饲料场景,重构字段显示功能

This commit is contained in:
2025-08-26 18:44:28 +08:00
parent 7e5a8861ec
commit 3197fe6048
9 changed files with 84 additions and 12 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ static func generate(
var instance: BulletBase = bullet.instantiate()
instance.launcher = launchBy
instance.position = spawnPosition
instance.rotation = spawnRotation
instance.rotation = spawnRotation + randf_range(-launchBy.fields.get(FieldStore.Entity.OFFSET_SHOOT), launchBy.fields.get(FieldStore.Entity.OFFSET_SHOOT))
if addToWorld:
WorldManager.rootNode.add_child(instance)
return instance