// Update is called once per frame void Update() { if ((canBeat) || (GetComponent <DeathCondition>().chargeDefibrilator)) { ArTouchInput.GetInstance().Update(); } //if (canBeat&&(isThrown && ((Input.touchCount > 0)||(Input.GetMouseButtonDown(0))))){ // Beat(); //} //Splat (); }
// Update is called once per frame void Update() { // Need to call Update on ArTouchInput otherwise no touch controls will happen :( ArTouchInput.GetInstance().Update(); }