on Affaire Depardieu : Contre-tribune de 2500 artistes | Cerveaux Non Disponibles · c/france · 3 pts · 2y
on [Question] [Solved] Persistent variables in tool script · c/godot · 2 pts · 2y@Bezier yeah it's good to know about the differences between Object and RefCounted when you're making custom data containers. Personally, I've been suffixing my custom/"game object" resources with "-Rs", as in I have PlayerRs, FileRs, DownloadRs, etc. The namespace pollution is definitely part of the trade-off from just preloading wherever you need the class.
@Bezier yeah it's good to know about the differences between Object and RefCounted when you're making custom data containers.
Personally, I've been suffixing my custom/"game object" resources with "-Rs", as in I have
PlayerRs,FileRs,DownloadRs, etc.The namespace pollution is definitely part of the trade-off from just preloading wherever you need the class.