Ejemplo n.º 1
0
 public void Reload(AnyDictionary dict)
 {
     keystoreName = dict.GetValue <string>("keystoreName");
     keystorePass = dict.GetValue <string>("keystorePass");
     keyaliasName = dict.GetValue <string>("keyaliasName");
     keyaliasPass = dict.GetValue <string>("keyaliasPass");
 }
Ejemplo n.º 2
0
        internal PlayerBuildExecutor(AnyDictionary dict)
        {
            Target      = StringEnumConverter.Get <BuildTarget>()[dict.GetValue <string>("target")];
            TargetGroup = StringEnumConverter.Get <BuildTargetGroup>()[dict.GetValue <string>("targetGroup")];

            var optionmap = dict.GetDict("options");

            Options = GetOptions(optionmap);

            this.scenes = GetScenes();
        }
        public void Reload(AnyDictionary dict)
        {
            enabled = dict.GetValue <bool>("enabled");

            var deviceListStr = dict.GetValue <string>("devices");

            this.devices = deviceListStr.Split(',');

            var table = StringEnumConverter.Get <StereoRenderingPath>();

            stereoRenderingPath = table[dict.GetValue <string>("stereoRenderingPath")];
        }
Ejemplo n.º 4
0
        public void Reload(AnyDictionary dict)
        {
            enabled = dict.GetValue <bool>("enabled");

            var rawDeviceList = dict.GetList("devices");
            var deviceList    = new List <string>();

            for (var i = 0; i < rawDeviceList.Count; i++)
            {
                var el = rawDeviceList[i] as string;
                if (el != null)
                {
                    deviceList.Add(el);
                }
            }
            this.devices = deviceList.ToArray();

            var table = StringEnumConverter.Get <StereoRenderingPath>();

            stereoRenderingPath = table[dict.GetValue <string>("stereoRenderingPath")];
        }
Ejemplo n.º 5
0
 public void Reload(AnyDictionary dict)
 {
     packageName = dict.GetValue <string>("packageName");
     versionName = dict.GetValue <string>("versionName");
     versionCode = dict.GetValue <string>("versionCode");
 }
Ejemplo n.º 6
0
 public void Reload(AnyDictionary dict)
 {
     min    = ConvertVersion(dict.GetValue <int>("min"));
     target = ConvertVersion(dict.GetValue <int>("target"));
 }