Esempio n. 1
0
        public void OnPointerUp(PointerEventData eventData)
        {
            drag = false;
            PlayerChatInputField.FreezeTime = false;
            PlayerChatInputField.ResetTimer();

            if (Mathf.Abs(playerChatManager.PlayerChaTransform.localPosition.x * 2) >= screenRes.x || Mathf.Abs(playerChatManager.PlayerChaTransform.localPosition.y * 2) >= screenRes.y)
            {
                playerChatManager.PlayerChaTransform.localPosition = new Vector3(-500, 125, 0);
            }
        }
Esempio n. 2
0
 public void Show()
 {
     PlayerChatInputField.ResetTimer();
     StartCoroutine(ToggleChatFade(true));
 }
Esempio n. 3
0
 public void OnPointerUp(PointerEventData eventData)
 {
     drag = false;
     PlayerChatInputField.FreezeTime = false;
     PlayerChatInputField.ResetTimer();
 }