Skip to content

Commit

Permalink
fix(Pointer): ensure required include is used for unity 5.5
Browse files Browse the repository at this point in the history
When using Navmesh in Unity 5.5 it requires to be prefixed with the
UnityEngine.AI package. To prevent issues when upgrading to Unity 5.5
this is now included at the top of the class if using Unity 5.5.
  • Loading branch information
thestonefox committed Feb 19, 2017
1 parent 4816d63 commit 8d796fa
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -3,6 +3,9 @@ namespace VRTK
{
using UnityEngine;
using System.Collections.Generic;
#if UNITY_5_5_OR_NEWER
using UnityEngine.AI;
#endif

/// <summary>
/// The Base Pointer Renderer script is an abstract class that handles the set up and operation of how a pointer renderer works.
Expand Down

0 comments on commit 8d796fa

Please sign in to comment.