Esempio n. 1
0
        // Use this for initialization
        void Start()
        {
            calculScoreScript      = GameObject.Find("_manager").GetComponent <CalculScore>();
            saveContentScript      = GameObject.Find("_manager").GetComponent <SaveContentBetweenScenesScript>();
            scriptLoopPrefabFigure = GameObject.Find("Xtra_330").GetComponent <LoopPrefabFigure>();
            numberStage            = 0;
            numberFigure           = 0;
            actualFigure           = 0;

            plane        = GameObject.FindWithTag("planeGeneratorFigure");
            alreadyPlace = false;
            futureFigure = 0;
            // scriptArrayFigure = gameObject.GetComponent<FigureChoice>();



            // scriptArrayFigure.setTravelingVariable();
            // figure = scriptArrayFigure.travelingFigureArray;
            //figure[scriptArrayFigure.travelingLevelFigure, i]
            if (!alreadyPlace)
            {
                placePlane();
            }
            int v = 0;

            while (v < 10)
            {
                Debug.Log("figureNumberTabSave: " + saveContentScript.figureNumberTabSave[v]);
                //  saveContentScript.figureNumberTabSave[actualFigure] = saveContentScript.figureNumberTabSave[actualFigure] + 1;
                v++;
            }
        }
Esempio n. 2
0
        // Use this for initialization
        void Start()
        {
            saveContentScript = GameObject.Find("_manager").GetComponent <SaveContentBetweenScenesScript>();


            //     Debug.Log("model de l avion:  " + testSccript.ModelAvion);
            test = false;
            // Debug.Log( "model de l avion:  " + testSccript.StaticModelAvionTest);
        }
 // public GameObject boutonTestInfos;
 // Use this for initialization
 private void Start()
 {
     saveContentScript = GameObject.Find("_Managers").GetComponent <SaveContentBetweenScenesScript>();
     //  IDateDebutEvent = "2018/10/10 12:00:00";
     test         = 0;
     numEventTest = 10;
     // Debug.Log(tabFigureLibrary.Length);
     initNameFigures();
     connect_BDD();
 }