Skip to content

Commit 042a365

Browse files
committed
Update distance for player to reach target
1 parent 34f9d28 commit 042a365

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Assets/_Project/Prefabs/PlayerPrefab.prefab

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/_Project/Scripts/Data/DataManager.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ public static IEnumerator GetRequest (string uri)
121121
Debug.Log (DebugManager.GetSymbol ("asterisk") + " Error: " + webRequest.error);
122122
} else {
123123
Debug.Log (DebugManager.GetSymbol ("asterisk") + " DataManager.GetNewData() " +
124-
uri + "\n" + webRequest.downloadHandler.text);
124+
//uri + "\n" + webRequest.downloadHandler.text +
125+
"");
125126

126127
// parse JSON array
127128
JArray a = JArray.Parse (webRequest.downloadHandler.text);

Assets/_Project/Scripts/Movement/MovePositionWanderComplex.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ void ShowRayBetweenPoints (Vector3 p1, Vector3 p2)
9898
Vector3 ReturnNewWanderPoint ()
9999
{
100100
bool pointWithin = false; // is the point within the collider?
101-
Vector3 target = Vector3.zero; // the new point
101+
Vector3 target = Vector3.zero; // the new point, which defaults to center
102102
int safety = 0;
103103

104104
// update the selection range depending on the size of the resolution

0 commit comments

Comments
 (0)