Skip to content

Commit

Permalink
Upgrade to Unity 5.5; Profiler and NavMesh have moved
Browse files Browse the repository at this point in the history
  • Loading branch information
sinbad committed Dec 7, 2016
1 parent 76e2792 commit 29791b1
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions 2D/Behaviors/Radar2D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Collections.Generic;
using TickedPriorityQueue;
using UnityEngine;
using UnityEngine.Profiling;
using UnitySteer.Attributes;

namespace UnitySteer2D.Behaviors
Expand Down
1 change: 1 addition & 0 deletions 2D/Behaviors/SteerForFear2D.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//#define ANNOTATE_REPULSION

using UnityEngine;
using UnityEngine.Profiling;

namespace UnitySteer2D.Behaviors
{
Expand Down
1 change: 1 addition & 0 deletions 2D/Behaviors/SteerForNeighborGroup2D.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Profiling;
using UnitySteer.Attributes;

namespace UnitySteer2D.Behaviors
Expand Down
1 change: 1 addition & 0 deletions 2D/Behaviors/SteerForSphericalObstacles2D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

using System.Linq;
using UnityEngine;
using UnityEngine.Profiling;

namespace UnitySteer2D.Behaviors
{
Expand Down
3 changes: 2 additions & 1 deletion 2D/Behaviors/TickedVehicle2D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
using System.Diagnostics;
using TickedPriorityQueue;
using UnityEngine;
using UnityEngine.Profiling;
using Debug = UnityEngine.Debug;

namespace UnitySteer2D.Behaviors
{
/// <summary>
/// Vehicle2D subclass oriented towards autonomous bipeds and vehicles, which
/// Vehicle2D subclass oriented towards autonomous bipeds and vehicles, which
/// will be ticked automatically to calculate their direction.
/// </summary>
public abstract class TickedVehicle2D : Vehicle2D
Expand Down
1 change: 1 addition & 0 deletions 3D/Behaviors/Radar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Collections.Generic;
using TickedPriorityQueue;
using UnityEngine;
using UnityEngine.Profiling;

namespace UnitySteer.Behaviors
{
Expand Down
1 change: 1 addition & 0 deletions 3D/Behaviors/SteerForFear.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//#define ANNOTATE_REPULSION

using UnityEngine;
using UnityEngine.Profiling;

namespace UnitySteer.Behaviors
{
Expand Down
2 changes: 2 additions & 0 deletions 3D/Behaviors/SteerForNavmesh.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#define ANNOTATE_NAVMESH
using UnityEngine;
using UnityEngine.AI;
using UnityEngine.Profiling;

namespace UnitySteer.Behaviors
{
Expand Down
1 change: 1 addition & 0 deletions 3D/Behaviors/SteerForNeighborGroup.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Collections.Generic;
using UnityEngine;
using UnitySteer.Attributes;
using UnityEngine.Profiling;

namespace UnitySteer.Behaviors
{
Expand Down
1 change: 1 addition & 0 deletions 3D/Behaviors/SteerForSphericalObstacles.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#define ANNOTATE_AVOIDOBSTACLES
using System.Linq;
using UnityEngine;
using UnityEngine.Profiling;

namespace UnitySteer.Behaviors
{
Expand Down
3 changes: 2 additions & 1 deletion 3D/Behaviors/TickedVehicle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
using System.Diagnostics;
using TickedPriorityQueue;
using UnityEngine;
using UnityEngine.Profiling;
using Debug = UnityEngine.Debug;

namespace UnitySteer.Behaviors
{
/// <summary>
/// Vehicle subclass oriented towards autonomous bipeds and vehicles, which
/// Vehicle subclass oriented towards autonomous bipeds and vehicles, which
/// will be ticked automatically to calculate their direction.
/// </summary>
public abstract class TickedVehicle : Vehicle
Expand Down

0 comments on commit 29791b1

Please sign in to comment.