I've seen this a few times but I need it explained as basically as you can. I have many worlds in my program and I want 1 variable to be shared by all of them. I want it where the variable can be changed in any world and can be read in any world.
class MyWorld
{
public static int myVariable = 4;
}