示例#1
0
    // Start is called before the first frame update
    void Start()
    {
        convert = GameObject.Find("GameManager").GetComponent <Converters>();

        _Mc = GameObject.Find("GameManager").GetComponent <Mathieu_Choice>();

        _sl             = GameObject.Find("GameManager").GetComponent <Liste_Stalkers>();
        totalStalk.text = "/" + maxStalker;
        stalk.text      = " Stalkers : " + stalker;

        _c1.gameObject.SetActive(true);
        _c2.gameObject.SetActive(false);
    }
示例#2
0
文件: Day.cs 项目: Mathigoful/ZIMA
    // Start is called before the first frame update
    void Start()
    {
        timer       = GameObject.Find("GameManager").GetComponent <Timer>();
        choices     = GameObject.Find("GameManager").GetComponent <Mathieu_Choice>();
        turnes      = GameObject.Find("GameManager").GetComponent <Turns_Select>();
        _sl         = GameObject.Find("GameManager").GetComponent <Liste_Stalkers>();
        _ressources = GameObject.Find("GameManager").GetComponent <Gestion_Ressources>();

        _GetIt = GameObject.Find("GameManager").GetComponent <Stalkers_GetRessources>();

        _JCVD = GameObject.Find("GameManager").GetComponent <J_Choice_Result>();

        daypast.text = "Jour " + day;
    }
示例#3
0
    // Start is called before the first frame update
    void Start()
    {
        turns = GameObject.Find("GameManager").GetComponent <Turns_Select>();

        lands = GameObject.Find("GameManager").GetComponent <Land_Select>();

        resources = GameObject.Find("GameManager").GetComponent <Gestion_Ressources>();

        choises = GameObject.Find("GameManager").GetComponent <Mathieu_Choice>();

        travel = GameObject.Find("GameManager").GetComponent <Stalker_Travel>();

        _ls = GameObject.Find("GameManager").GetComponent <Liste_Stalkers>();

        turnedgone = 0;
        saveturned = 0;
    }
示例#4
0
    // Start is called before the first frame update
    void Start()
    {
        turns = GameObject.Find("GameManager").GetComponent <Turns_Select>();

        lands = GameObject.Find("GameManager").GetComponent <Land_Select>();

        resources = GameObject.Find("GameManager").GetComponent <Gestion_Ressources>();

        choises = GameObject.Find("GameManager").GetComponent <Mathieu_Choice>();

        travel = GameObject.Find("GameManager").GetComponent <Stalker_Travel>();

        dayz = GameObject.Find("GameManager").GetComponent <Day>();

        timer = GameObject.Find("GameManager").GetComponent <Timer>();

        _sl = GameObject.Find("GameManager").GetComponent <Liste_Stalkers>();

        valuelist = new int[9];
    }
示例#5
0
    // Start is called before the first frame update
    void Start()
    {
        turns = GameObject.Find("GameManager").GetComponent <Turns_Select>();

        lands = GameObject.Find("GameManager").GetComponent <Land_Select>();

        resources = GameObject.Find("GameManager").GetComponent <Gestion_Ressources>();

        choises = GameObject.Find("GameManager").GetComponent <Mathieu_Choice>();

        dayz = GameObject.Find("GameManager").GetComponent <Day>();

        _ls = GameObject.Find("GameManager").GetComponent <Liste_Stalkers>();

        foreach (GameObject stalker in _ls.stalkerlist)
        {
            stalker.GetComponent <Stalker>().rtogo = true;
            Debug.Log("Stalkers Ready to Go ");
        }
    }