- Code: Select all
String[] AVATARS = { "Boy", "Girl", "Dog", "Etc" };
First I tried to move it to the top, after the namespace and before my class. Nope, can't put it there.
Then I tried to create a 'Constants' class and declare the array as a const. Nope, const doesn't work for arrays.
Then I tried to declare it as static readonly. Nope again, static variables don't work in playerio.
Arghjlasdhasl; how do I make this simple information available to all classes?