I need to access a variety of lists that are created in a singleton Manager class.
Thought I could use: Name=PlayerDatabaseManager.Instance.Personal(0);
It doesn’t seem to work. What am I missing??
Thanks!
I need to access a variety of lists that are created in a singleton Manager class.
Thought I could use: Name=PlayerDatabaseManager.Instance.Personal(0);
It doesn’t seem to work. What am I missing??
Thanks!
Be sure to post the error when asking a question and be as descriptive as possible. I’m assuming Name is a string and Personal is a generic list of strings. Then most likely you want be using:
Name=PlayerDatabaseManager.Instance.Personal[0];
Note the square brackets around the zero.