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