|
|
@ -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);
|
|
|
|