public void onStylusHoverObjectEnd(ActionEventInfo info) { //TODO: Implement on what happens when stylus hover ends // Debug.Log("onStylusHoverObjectEnd"); // Material m = info.actionObject.GetComponent<Renderer>().material; // Color c = Color.white; // m.color = c; }
public void onStylusHoverObjectBegin(ActionEventInfo info) { //TODO: Implement on what happens when stylus hovers on a object begins // Debug.Log("onStylusHoverObjectBegin"); // Material m = info.actionObject.GetComponent<Renderer>().material; // Color c = Color.red; // m.color = c; }
public void onStylusHoverUIEnd(ActionEventInfo info) { //TODO: Implement on what happens when stylus hover on UI ends // Debug.Log("onStylusHoverUIEnd"); EventSystem.current.SetSelectedGameObject(null); }
public void onStylusHoverUIBegin(ActionEventInfo info) { //TODO: Implement on what happens when stylus hover on UI begins // Debug.Log("onStylusHoverUIBegin"); EventSystem.current.SetSelectedGameObject(info.actionObject); }
public void onStylusGrabObjectUpdate(ActionEventInfo info) { //Debug.Log("onStylusGrabObjectUpdate"); UpdateGrab(info.actionObject, info.pose); }
public void onStylusGrabObjectEnd(ActionEventInfo info) { //TODO: Implement on what happens when stylus grab of object ends // Debug.Log("onStylusGrabObjectEnd"); }
public void onStylusGrabObjectBegin(ActionEventInfo info) { //Debug.Log("onStylusGrabObjecBegin"); BeginGrab(info.actionObject, info.length, info.pose); VoxelCore.Instance.SetStylusFeature(StylusFeature.Vibration, 50); }
public void onStylusButtonOnePressedUI(ActionEventInfo info) { //TODO: Implement on what happens when stylus button one is pressed on UI // Debug.Log("onStylusButtonOnePressedUI"); }