protected virtual void PanelMenuItemGripPressed(object sender, PanelMenuItemControllerEventArgs e) { if (currentIndex < colours.Length && changeObject != null) { changeObject.material.color = colours[currentIndex]; } }
protected virtual void PanelMenuItemTriggerPressed(object sender, PanelMenuItemControllerEventArgs e) { if (currentIndex < colours.Length && changeObject != null) { changeObject.material.color = colours[currentIndex]; } Transform selected = gridLayoutGroup.transform.GetChild(currentIndex); if (selected != null) { string s = selected.GetComponentInChildren <Text>().text.ToString(); PhotonView.Get(this).RPC("SetSpeechBubbleText", RpcTarget.All, s); if (debug) { Debug.Log(name + " : the Text of the current item is: " + selected.GetComponentInChildren <Text>().text.ToString()); } } else { if (debug) { Debug.Log("No Selected Item!"); } } simpleSpawner.Spawn(speechBubble.gameObject, new Vector3(e.interactableObject.transform.position.x, e.interactableObject.transform.position.y + 0.5f, e.interactableObject.transform.position.z), transform.rotation); }
public virtual void OnPanelMenuItemSwipeBottom(PanelMenuItemControllerEventArgs e) { if (PanelMenuItemSwipeBottom != null) { PanelMenuItemSwipeBottom(this, e); } }
public virtual void OnPanelMenuItemSwipeRight(PanelMenuItemControllerEventArgs e) { if (PanelMenuItemSwipeRight != null) { PanelMenuItemSwipeRight(this, e); } }
public virtual void OnPanelMenuItemHiding(PanelMenuItemControllerEventArgs e) { if (PanelMenuItemHiding != null) { PanelMenuItemHiding(this, e); } }
protected virtual void OnPanelMenuItemTriggerPressed(PanelMenuItemControllerEventArgs e) { if (PanelMenuItemTriggerPressed != null) { PanelMenuItemTriggerPressed(this, e); } }
protected virtual void PanelMenuItemSwipeLeft(object sender, PanelMenuItemControllerEventArgs e) { if (slider != null) { slider.value--; SetColor(); } }
protected virtual void PanelMenuItemSwipeTop(object sender, PanelMenuItemControllerEventArgs e) { MoveSelectGridLayoutItem(Direction.Up); }
private void OnPanelMenuItemTriggerPressed(object sender, PanelMenuItemControllerEventArgs e) { SendMessageToInteractableObject(e.interactableObject); }
private void OnPanelMenuItemSwipeRight(object sender, PanelMenuItemControllerEventArgs e) { MoveSelectGridLayoutItem(Direction.Right, e.interactableObject); }
private void OnPanelMenuItemSwipeRight(object sender, PanelMenuItemControllerEventArgs e) { slider.value += 1; SendMessageToInteractableObject(e.interactableObject); }
// Token: 0x06001EA9 RID: 7849 RVA: 0x0009BE1F File Offset: 0x0009A01F private void OnPanelMenuItemSwipeLeft(object sender, PanelMenuItemControllerEventArgs e) { this.slider.value -= 1f; this.SendMessageToInteractableObject(e.interactableObject); }
// Token: 0x06001EA3 RID: 7843 RVA: 0x0009BD30 File Offset: 0x00099F30 private void OnPanelMenuItemSwipeLeft(object sender, PanelMenuItemControllerEventArgs e) { this.MoveSelectGridLayoutItem(PanelMenuUIGrid.Direction.Left, e.interactableObject); }