(忽视错误,我匆忙)

我也不太确定如何解释这个问题,但是如果将 data_name 的值设为 player_HP,我希望在 game 中能用 global.game_data.data_name 来代替 global.game_data.player_HP。有没有一种方法可以做到类似的事情?