public void OnPointerClick(PointerEventData eventData) { if (StartMenu.CheckMoving()) { return; } if (StartMenu.CheckAfterEnter()) { return; } if (eventData.button != PointerEventData.InputButton.Left) { return; } StartCoroutine("CallAdvent"); }
public void OnPointerClick(PointerEventData eventData) { if (!visual || StartMenu.CheckMoving()) { return; } if (StartMenu.CheckAfterEnter()) { return; } if (eventData.button != PointerEventData.InputButton.Left) { return; } switch (buttonNum) { case 0: StartCoroutine("CallAdvent"); break; case 1: Music.PlaySE(Music.Clip.Mekuri); StartMenu.MoveStageMenu(true); break; case 2: StartCoroutine("CallAdvent"); break; case 3: Music.PlaySE(Music.Clip.Mekuri); StartMenu.MoveSettingMenu(true); break; case 4: StartCoroutine("CallAdvent"); break; } }