mirror of
https://github.com/ConjureETS/PillowFight.git
synced 2026-03-24 09:00:58 +00:00
remove Debug.Log messages
This commit is contained in:
parent
c4812ce7a2
commit
96d0138f3a
@ -34,17 +34,12 @@ public class AutoTarget : MonoBehaviour {
|
||||
|
||||
float dot = Vector3.Dot(targetDirection, lookingAngle);
|
||||
float angle = Mathf.Acos(dot) * Mathf.Rad2Deg;
|
||||
|
||||
|
||||
if (angle < minAngle) {
|
||||
minAngle = angle;
|
||||
closest = t;
|
||||
}
|
||||
Debug.Log("angle: " + angle);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Debug.Log("min angle:" + minAngle);
|
||||
|
||||
return closest;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user