Exemplo n.º 1
0
        public static void Export(string path)
        {
            var name           = Path.GetFileNameWithoutExtension(path);
            var buildDirectory = Directory.GetParent(path).ToString();
            var exportLocation = Path.Combine(buildDirectory, "ConsoleCommandList.txt");

            File.WriteAllText(exportLocation, ConfigCommands.GetCommandList(true));
        }
 void Awake()
 {
     ConfigCommands.InvokeAutoExec();
     Destroy(gameObject);
 }