多轮审查评估
This commit is contained in:
@@ -23,7 +23,8 @@ namespace BaseGames.World
|
||||
[SerializeField] private float _bounceForce = 5f;
|
||||
|
||||
[Header("事件频道")]
|
||||
[SerializeField] private StringEventChannelSO _onCollectiblePickup;
|
||||
[SerializeField] private StringEventChannelSO _onCollectiblePickup; // 道具获取(EVT_ItemPickup)
|
||||
[SerializeField] private StringEventChannelSO _onCollectibleSaved; // 持久化记录(EVT_CollectibleSaved)
|
||||
|
||||
private bool _collected;
|
||||
|
||||
@@ -64,7 +65,7 @@ namespace BaseGames.World
|
||||
}
|
||||
|
||||
if (_isPersistent && !string.IsNullOrEmpty(_collectibleId))
|
||||
_onCollectiblePickup?.Raise(_collectibleId);
|
||||
_onCollectibleSaved?.Raise(_collectibleId);
|
||||
|
||||
Despawn();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user