From 29791b1be3d13c2d798520567b5a9cde59c42796 Mon Sep 17 00:00:00 2001 From: Steve Streeting Date: Wed, 7 Dec 2016 12:37:28 +0000 Subject: [PATCH 1/2] Upgrade to Unity 5.5; Profiler and NavMesh have moved --- 2D/Behaviors/Radar2D.cs | 1 + 2D/Behaviors/SteerForFear2D.cs | 1 + 2D/Behaviors/SteerForNeighborGroup2D.cs | 1 + 2D/Behaviors/SteerForSphericalObstacles2D.cs | 1 + 2D/Behaviors/TickedVehicle2D.cs | 3 ++- 3D/Behaviors/Radar.cs | 1 + 3D/Behaviors/SteerForFear.cs | 1 + 3D/Behaviors/SteerForNavmesh.cs | 2 ++ 3D/Behaviors/SteerForNeighborGroup.cs | 1 + 3D/Behaviors/SteerForSphericalObstacles.cs | 1 + 3D/Behaviors/TickedVehicle.cs | 3 ++- 11 files changed, 14 insertions(+), 2 deletions(-) diff --git a/2D/Behaviors/Radar2D.cs b/2D/Behaviors/Radar2D.cs index 771993c..1c4042a 100644 --- a/2D/Behaviors/Radar2D.cs +++ b/2D/Behaviors/Radar2D.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using TickedPriorityQueue; using UnityEngine; +using UnityEngine.Profiling; using UnitySteer.Attributes; namespace UnitySteer2D.Behaviors diff --git a/2D/Behaviors/SteerForFear2D.cs b/2D/Behaviors/SteerForFear2D.cs index 499796e..b5b20d3 100644 --- a/2D/Behaviors/SteerForFear2D.cs +++ b/2D/Behaviors/SteerForFear2D.cs @@ -1,6 +1,7 @@ //#define ANNOTATE_REPULSION using UnityEngine; +using UnityEngine.Profiling; namespace UnitySteer2D.Behaviors { diff --git a/2D/Behaviors/SteerForNeighborGroup2D.cs b/2D/Behaviors/SteerForNeighborGroup2D.cs index a23f66c..7093bac 100644 --- a/2D/Behaviors/SteerForNeighborGroup2D.cs +++ b/2D/Behaviors/SteerForNeighborGroup2D.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using UnityEngine; +using UnityEngine.Profiling; using UnitySteer.Attributes; namespace UnitySteer2D.Behaviors diff --git a/2D/Behaviors/SteerForSphericalObstacles2D.cs b/2D/Behaviors/SteerForSphericalObstacles2D.cs index accb177..c8298d2 100644 --- a/2D/Behaviors/SteerForSphericalObstacles2D.cs +++ b/2D/Behaviors/SteerForSphericalObstacles2D.cs @@ -2,6 +2,7 @@ using System.Linq; using UnityEngine; +using UnityEngine.Profiling; namespace UnitySteer2D.Behaviors { diff --git a/2D/Behaviors/TickedVehicle2D.cs b/2D/Behaviors/TickedVehicle2D.cs index 1bb4dad..6e33082 100644 --- a/2D/Behaviors/TickedVehicle2D.cs +++ b/2D/Behaviors/TickedVehicle2D.cs @@ -3,12 +3,13 @@ using System.Diagnostics; using TickedPriorityQueue; using UnityEngine; +using UnityEngine.Profiling; using Debug = UnityEngine.Debug; namespace UnitySteer2D.Behaviors { /// - /// 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. /// public abstract class TickedVehicle2D : Vehicle2D diff --git a/3D/Behaviors/Radar.cs b/3D/Behaviors/Radar.cs index 5004d19..81f5e4d 100644 --- a/3D/Behaviors/Radar.cs +++ b/3D/Behaviors/Radar.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using TickedPriorityQueue; using UnityEngine; +using UnityEngine.Profiling; namespace UnitySteer.Behaviors { diff --git a/3D/Behaviors/SteerForFear.cs b/3D/Behaviors/SteerForFear.cs index da60128..560e1d5 100644 --- a/3D/Behaviors/SteerForFear.cs +++ b/3D/Behaviors/SteerForFear.cs @@ -1,6 +1,7 @@ //#define ANNOTATE_REPULSION using UnityEngine; +using UnityEngine.Profiling; namespace UnitySteer.Behaviors { diff --git a/3D/Behaviors/SteerForNavmesh.cs b/3D/Behaviors/SteerForNavmesh.cs index 8aa3b41..b56aac0 100644 --- a/3D/Behaviors/SteerForNavmesh.cs +++ b/3D/Behaviors/SteerForNavmesh.cs @@ -1,5 +1,7 @@ #define ANNOTATE_NAVMESH using UnityEngine; +using UnityEngine.AI; +using UnityEngine.Profiling; namespace UnitySteer.Behaviors { diff --git a/3D/Behaviors/SteerForNeighborGroup.cs b/3D/Behaviors/SteerForNeighborGroup.cs index 87500a5..dc41375 100644 --- a/3D/Behaviors/SteerForNeighborGroup.cs +++ b/3D/Behaviors/SteerForNeighborGroup.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using UnityEngine; using UnitySteer.Attributes; +using UnityEngine.Profiling; namespace UnitySteer.Behaviors { diff --git a/3D/Behaviors/SteerForSphericalObstacles.cs b/3D/Behaviors/SteerForSphericalObstacles.cs index d6c245d..a0af94c 100644 --- a/3D/Behaviors/SteerForSphericalObstacles.cs +++ b/3D/Behaviors/SteerForSphericalObstacles.cs @@ -1,6 +1,7 @@ #define ANNOTATE_AVOIDOBSTACLES using System.Linq; using UnityEngine; +using UnityEngine.Profiling; namespace UnitySteer.Behaviors { diff --git a/3D/Behaviors/TickedVehicle.cs b/3D/Behaviors/TickedVehicle.cs index 298265b..251f599 100644 --- a/3D/Behaviors/TickedVehicle.cs +++ b/3D/Behaviors/TickedVehicle.cs @@ -2,12 +2,13 @@ using System.Diagnostics; using TickedPriorityQueue; using UnityEngine; +using UnityEngine.Profiling; using Debug = UnityEngine.Debug; namespace UnitySteer.Behaviors { /// - /// 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. /// public abstract class TickedVehicle : Vehicle From f63b92fed04a1797547ebc1ccb1491f1dcea4d27 Mon Sep 17 00:00:00 2001 From: Steve Streeting Date: Wed, 21 Dec 2016 09:29:40 +0000 Subject: [PATCH 2/2] Update Changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2de3ef5..d931f63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # UnitySteer changelog +## WIP + +* Upgrade project to Unity 5.5 + ## v3.1 * 2D support thanks to @GandaG and @pjohalloran.