public override void Initialize() { Log("Initializing"); Instance = this; //Log("Loading Hugger 1"); //memoryHugger1 = new int[536870912]; //Log("Loading Hugger 2"); //memoryHugger2 = new int[536870912]; //Log("Loading Hugger 3"); //memoryHugger3 = new int[536870912]; //Log("Loading Hugger 4"); //memoryHugger4 = new int[536870912]; //Log("Loading Hugger 5"); //memoryHugger5 = new int[536870912]; //Log("Loading Hugger 6"); //memoryHugger6 = new int[536870912]; //Log("Loading Hugger 7"); //memoryHugger7 = new int[536870912]; //Log("Loading Hugger 8"); //memoryHugger8 = new int[536870912]; //Log("Loading Hugger 9"); //memoryHugger9 = new int[536870912]; //Log("Loading Hugger 10"); //memoryHugger10 = new int[536870912]; Log("Initialized"); }
//private int[] memoryHugger1; //private int[] memoryHugger2; //private int[] memoryHugger3; //private int[] memoryHugger4; //private int[] memoryHugger5; //private int[] memoryHugger6; //private int[] memoryHugger7; //private int[] memoryHugger8; //private int[] memoryHugger9; //private int[] memoryHugger10; public CustomBgm() : base("Custom Background Music") { Instance = this; switch (SystemInfo.operatingSystemFamily) { case OperatingSystemFamily.MacOSX: DIR = Path.GetFullPath(Application.dataPath + "/Resources/Data/Managed/Mods/" + FOLDER); break; default: DIR = Path.GetFullPath(Application.dataPath + "/Managed/Mods/" + FOLDER); break; } if (!Directory.Exists(DIR)) { Directory.CreateDirectory(DIR); } InitCallbacks(); }