----------------
Hello there! I am coding a game, but for some reason I can't create instances of these classes (Client, ErrorLog, BigDB, etc.).
I looked at these codes, and I saw these constructors are protected.
I tried to create an instance, but I failed.
- Code: Select all
public static Client client = new Client();
This is the part of code which has error. When I make them null, it works perfect. But still, when I try to log an error, it fails. Because, instance is set to null.
Can I learn why the namespace PlayerIOClient's all classes' constructors are protected?