Beispiel #1
0
    public void OnClickSave()
    {
        float[] value = new float[_Edits.Length];

        for (int i = 0; i < _Edits.Length; ++i)
        {
            UIInput input = _Edits[i].transform.Find("Input").GetComponent <UIInput>();

            if (input.value == "")
            {
                value[i] = -1000f;
            }
            else
            {
                value[i] = float.Parse(input.value);
            }

            //LogManager.Log(_Edits[i].name + " : " + value[i]);
        }

        ParserManager.DeveloperSetting(value);

        SceneChangeManager.Change_Scene("Proto");
    }