I’m trying to add threading to my game. I know that Unity is not thread-save so I want to have the thread in an external class (without MonoBehaviour). But for some reason, the object is just working when I make it a MonoBehaviour. If I don’t, the class just won’t execute, althought there’s no error in my script. It’s just not executing. I am using the new-operator to create a instance of the class.
100% my fault.
“print” is a Unity function. It works with Debug.Log().