mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-18 13:58:28 +00:00
remove spamming logs
This commit is contained in:
parent
8abab27068
commit
1117d03c63
3 changed files with 1 additions and 5 deletions
|
@ -144,7 +144,6 @@ namespace SanAndreasUnity.UI
|
|||
if (movementButton.IsPointerDown && movementButton.IsPointerInside)
|
||||
{
|
||||
input = movementButton.GetMovement();
|
||||
Debug.LogFormat("pointer is down, input: {0}", input);
|
||||
}
|
||||
|
||||
// set input for vertical and horizontal axis
|
||||
|
|
|
@ -36,13 +36,11 @@ namespace SanAndreasUnity.Utilities
|
|||
|
||||
public void OnPointerDown(PointerEventData pointerEventData)
|
||||
{
|
||||
Debug.Log(name + " Click in Progress");
|
||||
m_isPointerDown = true;
|
||||
}
|
||||
|
||||
public void OnPointerUp(PointerEventData pointerEventData)
|
||||
{
|
||||
Debug.Log(name + "No longer being clicked");
|
||||
m_isPointerDown = false;
|
||||
}
|
||||
|
||||
|
@ -65,7 +63,6 @@ namespace SanAndreasUnity.Utilities
|
|||
if (!RectTransformUtility.ScreenPointToLocalPointInRectangle(this.transform as RectTransform, mousePos, null, out localPoint))
|
||||
return Vector2.zero;
|
||||
Vector2 diff = localPoint;
|
||||
Debug.LogFormat("mousePos: {0}, diff: {1}", mousePos, diff);
|
||||
if (diff.sqrMagnitude < float.Epsilon)
|
||||
return Vector2.zero;
|
||||
return diff.normalized;
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
- Android: add perms for read/write access to storage ; forbid screen rotation ; assign app version ;
|
||||
|
||||
- Touch input: HUD must run before other UI scripts ; vehicle touch input: forward, backward, handbrake, left & right ; weapon switching buttons ; lock cursor when testing finishes ; don't report mouse move input while movement button is being pressed ; remove HUD code from state class ; remove spamming logs ;
|
||||
- Touch input: vehicle touch input: forward, backward, handbrake, left & right ; weapon switching buttons ; lock cursor when testing finishes ; don't report mouse move input while movement button is being pressed ; remove HUD code from state class ; remove spamming logs ;
|
||||
|
||||
- Play sounds: horn ; empty weapon slot ; ped damage ; footsteps in run and sprint states ;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue