public override void OnTouch(PULSO_Handpad pulsoHand) { PULSO_DemoRoomsManager.instance.CloseAll(); gameObject.GetComponent <Renderer>().material.color = PULSO_DemoRoomsManager.instance.buttonSelected; openRoom.SetActive(true); }
public void Get(PULSO_Handpad pulso) { Vibrate(1f, 1f, 0.1f, pulso.handSide); transform.SetParent(pulso._handRoot); if (profile != null && profileLoaded) { transform.localPosition = profile.localPos; transform.localRotation = profile.localRot; } else { ///transform.localPosition = Vector3.zero; } lastHand = pulso; }
public override void OnTouch(PULSO_Handpad pulsoHand) { Debug.Log("click"); light.SetActive(!light.activeSelf); Vibrate(1f, 1f, 0.2f, pulsoHand.handSide); }
public override void StopTouch(PULSO_Handpad pulsoHand) { }
public override void StopTouch(PULSO_Handpad pulsoHand) { pulsoHand.StopCallibration(); render.material = handOutMat; }
public override void OnTouch(PULSO_Handpad pulsoHand) { pulsoHand.CallibrateFinger(fingerID); render.material = handInMat; }