master
wlt233 2 years ago
parent 4250ddc095
commit b06f33fe1d

@ -11,8 +11,8 @@ public static class Config
{ {
static INIParser ini = new INIParser(); static INIParser ini = new INIParser();
public static int fullscreen = 1; public static int fullscreen = 1;
public static int randomCard = 0; public static int randomCard = 1;
public static int autoChange = 0; public static int autoChange = 1;
public static int changeTime = 600; public static int changeTime = 600;
public static string cardPath = ""; public static string cardPath = "";
public static float cameraSize = 7f; public static float cameraSize = 7f;
@ -27,8 +27,8 @@ public static class Config
{ {
ini.Open(Application.streamingAssetsPath + "/config.ini"); ini.Open(Application.streamingAssetsPath + "/config.ini");
fullscreen = ini.ReadValue("camera", "fullscreen", 1); fullscreen = ini.ReadValue("camera", "fullscreen", 1);
randomCard = ini.ReadValue("card", "random", 0); randomCard = ini.ReadValue("card", "random", 1);
autoChange = ini.ReadValue("card", "autochange", 0); autoChange = ini.ReadValue("card", "autochange", 1);
changeTime = ini.ReadValue("card", "time", 600); changeTime = ini.ReadValue("card", "time", 600);
cardPath = ini.ReadValue("card", "path", "null"); cardPath = ini.ReadValue("card", "path", "null");
cameraSize = (float)ini.ReadValue("camera", "size", 7f); cameraSize = (float)ini.ReadValue("camera", "size", 7f);

@ -15,5 +15,5 @@ size=7.0
; 摄像机范围用来调整卡面缩放。16:9 的屏幕 7.04:3 的屏幕 9.5;也可以自己看情况调整 ; 摄像机范围用来调整卡面缩放。16:9 的屏幕 7.04:3 的屏幕 9.5;也可以自己看情况调整
x=0.0 x=0.0
; 卡面 x 轴位置,大部分时候保持 0.0 就可以了 ; 卡面 x 轴位置,大部分时候保持 0.0 就可以了
y=-0.5 y=0.0
; 卡面 y 轴位置,根据具体卡面调整 ; 卡面 y 轴位置,根据具体卡面调整

Loading…
Cancel
Save