// Update is called once per frame void Update() { RFIB.statesUpdate(); StackSensing(); TouchSensing(); KeyPressed(); }
void Update() { keyPressed(); RFIB.statesUpdate(); if (Time.time > 3 && autoRun) { print("StartToBuild..."); RFIB.startToBuild(); RFIB.printNoiseIDs(); autoRun = false; } if (Flag_Draw3DSpace) { DrawBlock(); } // 從 Resources 下載入 Cube 物件 if (Input.GetKeyDown(KeyCode.A)) { UnityEngine.Object obj = Resources.Load("Cube"); GameObject gobj = Instantiate(obj) as GameObject; gobj.transform.localScale = new Vector3(2.0f, 2.0f, 2.0f); } }
// Update is called once per frame void Update() { RFIB.statesUpdate(); CountTagTime(); SenseID(); KeyPressed(); }
// Update is called once per frame void Update() { RFIB.statesUpdate(); StackSensing(); TouchSensing(); KeyPressed(); for (int k = 0; k < RFIB.StackedOrders.Count; k++) { string[] tmp = RFIB.StackedOrders[k].ToString().Split(','); //Debug.Log(tmp[0]); //Debug.Log(tmp[1]); //Debug.Log(RFIB.StackedOrders[k]); //Debug.Log(RFIB.StackedOrders[k].GetType()); } //foreach (string str in RFIB.DetectedIDs) //{ // Debug.Log(str); //} }