Esempio n. 1
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>();
    }
Esempio n. 2
0
    // 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;
    }
Esempio n. 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;
    }
Esempio n. 4
0
    // Start is called before the first frame update
    void Start()
    {
        turned = GameObject.Find("GameManager").GetComponent <Turns_Select>();

        buttonList = new MyButtons[3];

        buttonList[2].image       = GameObject.Find("Forest_Button").GetComponent <Image>();
        buttonList[2].image.color = Color.white;
        buttonList[2].action      = ForestButtonAction;

        buttonList[1].image       = GameObject.Find("Ruines_Button").GetComponent <Image>();
        buttonList[1].image.color = Color.white;
        buttonList[1].action      = RuinesButtonAction;

        buttonList[0].image       = GameObject.Find("NML_Button").GetComponent <Image>();
        buttonList[0].image.color = Color.white;
        buttonList[0].action      = NMLButtonAction;
    }
Esempio n. 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>();

        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];
    }
Esempio n. 6
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 ");
        }
    }