Ejemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        round = 0;
        cycle = gameObject.transform.Find("CycleSystem").GetComponent <CycleSystem>();

        planning = GameObject.FindGameObjectWithTag("Planning");
        analyse  = GameObject.FindGameObjectWithTag("Analyse");
        dev      = GameObject.FindGameObjectWithTag("Development");
        deploy   = GameObject.FindGameObjectWithTag("Deploy");
        test     = GameObject.FindGameObjectWithTag("Test");

        planning.GetComponent <WIPLimit>().enabled = false;
        analyse.GetComponent <WIPLimit>().enabled  = false;
        dev.GetComponent <WIPLimit>().enabled      = false;
        deploy.GetComponent <WIPLimit>().enabled   = false;
        test.GetComponent <WIPLimit>().enabled     = false;

        expedite1 = GameObject.Find("Expedite1");
        expedite3 = GameObject.Find("Expedite3");
        expedite4 = GameObject.Find("Expedite4");
        expedite5 = GameObject.Find("Expedite5");
        expedite1.SetActive(false);
        expedite3.SetActive(false);
        expedite4.SetActive(false);
        expedite5.SetActive(false);
    }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     dice          = new List <Transform>();
     cycle         = GameObject.Find("CycleSystem").GetComponent <CycleSystem>();
     totalDiceRoll = 0;
 }
Ejemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     cycle = GameObject.Find("CycleSystem").GetComponent <CycleSystem>();
 }