Пример #1
0
    private void Start()
    {
        turnplayer          = 1;
        changePoint         = GetComponent <ToChangePoint>();
        mapdata             = GetComponent <Mapdata>();
        setP                = GetComponent <SetPosition>();
        AmountOfWin         = 171;
        MotikinnSumIndexnum = mapdata.GetKomakindToIndexnum[-1];

        /*
         * turnChangeObj = GameObject.Find("TurnChangeObj");
         * tc = turnChangeObj.GetComponent<TurnChange>();
         */
        // turnOBJ1 = GameObject.FindGameObjectWithTag("turn1");
        // turnOBJ2 = GameObject.FindGameObjectWithTag("turn2");
        fadeoutOBJ = GameObject.Find("GameSetCanvas");
        fade       = fadeoutOBJ.GetComponent <FadeScript>();
        gameset    = false;
        fade.SetAlfa(1f);
        fade.Setfadein(true);
    }