public void head_color_button(int btnNum) { field = btnNum; CreatScript.field = this.field; CreatScript.create(field); Debug.Log(field); }
IEnumerator stay10Seconds() { yield return(new WaitForSeconds(10)); canvases[current].SetActive(false); current = 0; canvases[0].SetActive(true); field = 1; saturation = (float)0.5; ChangeImage(0); CreatScript.createAcc(11); CreatScript.field = this.field; CreatScript.create(field); CreatScript.saturation = saturation; CreatScript.changeJacketColor(); }