1using System.Collections.Generic;
43 conf.idLiquid = b.name;
44 conf.colorLiquid = null;
45 EMono.scene.ApplyZoneConfig();
53 conf.idRefraction = b.name;
54 EMono.scene.ApplyZoneConfig();
57 ddLut.SetList(conf.
idLut,
luts, (
string a,
int b) => a, delegate(
int a,
string b)
62 EMono.scene.ApplyZoneConfig();
69 return Lang.
Get(
"lutBlend") +
"(" + (
int)(a * 100f) +
"%)";
73 conf.lutBrightness = a;
75 return Lang.
Get(
"lutBrightness") +
"(" + (
int)(a * 100f) +
"%)";
81 return Lang.
Get(
"lutContrast") +
"(" + (
int)(a * 100f) +
"%)";
83 List<Texture2D> list =
new List<Texture2D>(Resources.LoadAll<Texture2D>(
"Scene/Profile/Lut/"));
85 sliderLut.SetList(list.Find((Texture2D a) => (!(a ==
null)) ? (conf.
idLut == a.name) : (conf.
idLut ==
"None")), list, delegate(
int a, Texture2D b)
87 conf.idLut = ((b ==
null) ?
"None" : b.name);
89 }, (Texture2D a) => (!(a ==
null)) ? a.name :
"None");
118 buttonColorPicker.icon.color = color;
126 if (!
string.IsNullOrEmpty(text))
138 if (array.Length != 0)
140 EMono._map.config = IO.LoadFile<MapConfig>(array[0]);
if(item3.idFile==idFirstFile &&item3.id==idFirstTopic)
void WaitForEndOfFrame(Action action)
static string SceneCustomizerSave
static string Get(string id)
static void Apply(string id)
static LiquidProfile Get(string id)
SerializableColor colorLiquid
static string[] OpenFilePanel(string title, string directory, string extension, bool multiselect)
static string SaveFilePanel(string title, string directory, string defaultName, string extension)