155 lines
2.7 KiB
C#
155 lines
2.7 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
[Serializable]
|
|
public class global_settings_class
|
|
{
|
|
public bool undo;
|
|
|
|
public bool positionSeed;
|
|
|
|
public color_settings_class color;
|
|
|
|
public bool color_scheme_display;
|
|
|
|
public bool color_scheme;
|
|
|
|
public bool toggle_text_no;
|
|
|
|
public bool toggle_text_short;
|
|
|
|
public bool toggle_text_long;
|
|
|
|
public bool tooltip_text_no;
|
|
|
|
public bool tooltip_text_short;
|
|
|
|
public bool tooltip_text_long;
|
|
|
|
public bool mac_mode;
|
|
|
|
public int tooltip_mode;
|
|
|
|
public WWW myExt;
|
|
|
|
public WWW myExt2;
|
|
|
|
public WWW myExt3;
|
|
|
|
public WWW myExt4;
|
|
|
|
public bool restrict_resolutions;
|
|
|
|
public bool load_terrain_data;
|
|
|
|
public bool rtp;
|
|
|
|
public bool video_help;
|
|
|
|
public bool view_only_output;
|
|
|
|
public float save_global_timer;
|
|
|
|
public WWW download;
|
|
|
|
public int downloading;
|
|
|
|
public bool download_foldout;
|
|
|
|
public bool download_display;
|
|
|
|
public WWW download2;
|
|
|
|
public int downloading2;
|
|
|
|
public bool download_foldout2;
|
|
|
|
public bool download_display2;
|
|
|
|
public WWW wc_contents;
|
|
|
|
public int wc_loading;
|
|
|
|
public float old_version;
|
|
|
|
public float new_version;
|
|
|
|
public bool update_display;
|
|
|
|
public bool update_display2;
|
|
|
|
public bool update_version;
|
|
|
|
public bool update_version2;
|
|
|
|
public string[] update;
|
|
|
|
public float time_out;
|
|
|
|
public bool button_export;
|
|
|
|
public bool button_measure;
|
|
|
|
public bool button_capture;
|
|
|
|
public bool button_tools;
|
|
|
|
public bool button_tiles;
|
|
|
|
public bool button_node;
|
|
|
|
public bool button_world;
|
|
|
|
public bool example_display;
|
|
|
|
public int example_resolution;
|
|
|
|
public Vector2 exampleTerrainTiles;
|
|
|
|
public int example_terrain;
|
|
|
|
public int example_terrain_old1;
|
|
|
|
public bool example_tree_active;
|
|
|
|
public bool example_grass_active;
|
|
|
|
public bool example_object_active;
|
|
|
|
public int example_buttons;
|
|
|
|
public global_settings_class()
|
|
{
|
|
positionSeed = true;
|
|
color = new color_settings_class();
|
|
color_scheme = true;
|
|
toggle_text_short = true;
|
|
tooltip_text_long = true;
|
|
tooltip_mode = 2;
|
|
restrict_resolutions = true;
|
|
video_help = true;
|
|
view_only_output = true;
|
|
save_global_timer = 5f;
|
|
download_foldout = true;
|
|
download_display = true;
|
|
download_foldout2 = true;
|
|
download_display2 = true;
|
|
update = new string[5] { "Don't check", "Notify", "Download and notify", "Download,import and notify", "Download and import automatically" };
|
|
button_export = true;
|
|
button_measure = true;
|
|
button_capture = true;
|
|
button_tools = true;
|
|
button_tiles = true;
|
|
button_node = true;
|
|
button_world = true;
|
|
example_display = true;
|
|
example_resolution = 3;
|
|
exampleTerrainTiles = new Vector2(2f, 2f);
|
|
example_terrain_old1 = -1;
|
|
example_tree_active = true;
|
|
example_grass_active = true;
|
|
example_object_active = true;
|
|
example_buttons = 1;
|
|
}
|
|
}
|