예제 #1
0
    // Use this for initialization
    void Start()
    {
        exp = Experience.control;
        exp.Calcul();

        s_panel = new Stack <GameObject>();
        GameObject panel1 = GameObject.Find("PanelResultat");

        panel1.GetComponentsInChildren <Text>()[0].text = "D1 = " + exp.l_distance[0];
        panel1.GetComponentsInChildren <Text>()[1].text = "mean = " + exp.l_mean[0];


        s_panel.Push(panel1);

        ContentPanel = GameObject.Find("Content");

        for (int i = 1; i < exp.l_distance.Count; i++)
        {
            Clone(panel1);
        }
    }