void LeftHandActivePower() { Ray r = new Ray(leftHand.transform.position, leftHand.transform.forward); if (mdi.enabled) {//raise/lower terrain leftHand.GetComponent <LineRenderer>().enabled = true; mdi.HandleInput(r, -OVRInput.Get(OVRInput.Axis2D.SecondaryThumbstick).y); } if (opi.enabled) { leftHand.GetComponent <LineRenderer>().enabled = true; opi.HandleInput(r, -OVRInput.Get(OVRInput.Axis2D.SecondaryThumbstick).y); } if (bab.enabled) { bab.KeepBuilding(leftHand.transform); } if (pi.enabled) { leftHand.GetComponent <LineRenderer>().enabled = true; pi.UseActivePower(); } }
private void OnMouseOver() { MeshDeformerInput.HandleInput(1); }