示例#1
0
 public void head_color_button(int btnNum)
 {
     field             = btnNum;
     CreatScript.field = this.field;
     CreatScript.create(field);
     Debug.Log(field);
 }
示例#2
0
    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();
    }