11:47 2016/11/30Before you can load a level you have to add it to the list of levels used in the game. Use File->Build Settings... in Unity and add the levels you need to the level list there. MonoBehaviour.OnLevelWasLoaded is called on all active ga…
12.19 file与io流 File 1. 新建文件或者文件夹 新建文件 File F = new File(pathname:"路径+文件名");Boolean flag = F.creatNewFile();//如果文件不存在就创建,存在就创建失败. 新建一级文件夹 File F = new File(pathname:"一级路径")://例如D:\\F:Boolean flag = F.mkdir();System.out.println(flag?&quo…