I want to make a scoremanager script to handle the scoring in my game. How can I set this up as a singleton,like in C#,if this is even possible in flowScript.
Hello,
Sorry for late reply due to Eastern vacation.
Basically, what the singleton pattern mostly does, is that is prevents more than one instance of an object/class being in existence at the same time.
Unfortunately this can’t be replicated with flowscripts, since they are not classes 🙂
Join us on Discord: https://discord.gg/97q2Rjh
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.