Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     anim    = gameObject.GetComponent <Animator>();
     tank    = waterTankObj.GetComponent <WaterTank>();
     gogoapi = gogoAPIObj.GetComponent <GogoAPI>();
     TalkToGoGo_tankIsFullOut();
 }
Ejemplo n.º 2
0
    // Use this for initialization
    void Start()
    {
        hp = BokoryHP.GetComponent <cs_Bokory>().hp;
        iconWet.SetActive(false);
        iconHealthy.SetActive(false);
        iconDry.SetActive(false);

        gogo = gogoApi.GetComponent <GogoAPI>();
    }
Ejemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     //ModifyButton.GetComponent<Button>().onClick.AddListener(togglePump);
     gogo         = ObjectGogoAPI.GetComponent <GogoAPI>();
     buttomToggle = Time.time;
     tank         = gameObject.GetComponent <WaterTank>();
     Pump.SetActive(false);
     if (PumpSmoke != null)
     {
         PumpSmoke.SetActive(false);
     }
 }
Ejemplo n.º 4
0
    // Use this for initialization
    void Start()
    {
        gogo = gogoGameObject.GetComponent <GogoAPI>();


        if (theTrackable == null)
        {
            Debug.Log("Warning: Trackable not set !!");
        }
        if (theTrackable)
        {
            theTrackable.RegisterTrackableEventHandler(this);
        }
    }
    void Start()
    {
        checkGogoAPI();
        checkARCamera();
        checkModel();
        checkCamfocus();

        gogo = gogoAPI_obj.GetComponent <GogoAPI>();
        if (gogo == null)
        {
            Debug.LogError("FFFFF");
            Application.Quit();
        }
        //gogo.autoLoad();
        //gogo.refreshConnection();

        c_csui = UIController_obj.GetComponent <cs_UI>();
    }
    // Use this for initialization
    void Start()
    {
        label_IPAdress = obj_label_IPAddress.GetComponent <Text>();

        saveIP = GameObject.Find("EventSystem").AddComponent <sc_SaveIPAddress>();
        saveIP.LoadFileIP();

        label_IPAdress.text = saveIP.getData();

        gogo = GameObject.Find("GogoAPI").GetComponent <GogoAPI>();

        gogo.showDebug = true;

        lastUpdateTime = Time.time;

        canConnectedTime = Time.time;

        obj_panel_failed.SetActive(false);
        obj_panel_refillIPaddress.SetActive(false);
    }
Ejemplo n.º 7
0
 // Use this for initialization
 void Start()
 {
     gogo = gogoAPIGameObject.GetComponent <GogoAPI>();
     setAllUI(false);
 }
Ejemplo n.º 8
0
 void Start()
 {
     gogo = gogoObject.GetComponent <GogoAPI>();
     autoLoad();
 }
Ejemplo n.º 9
0
    // Start is called before the first frame update
    void Start()
    {
        checkLamp();

        gogo = obj_gogoAPI.GetComponent <GogoAPI>();
    }
Ejemplo n.º 10
0
 // Use this for initialization
 void Start()
 {
     particle.active = false;
     tankValue       = tank.GetComponent <WaterTank>();
     gogo            = gogoapi.GetComponent <GogoAPI>();
 }