The_Dark_Side_of_Earth/utils/global.gd

6 lines
101 B
GDScript

class_name Global
static var next_dmg_id : int = 0 :
get:
next_dmg_id += 1
return next_dmg_id