Skip to content

Commit

Permalink
fix compile error on 2017.1
Browse files Browse the repository at this point in the history
  • Loading branch information
i-saint committed Feb 22, 2018
1 parent eaf4ed4 commit 20f9909
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -609,14 +609,18 @@ public static void ForceDisableBatching()
{
method.Invoke(null, new object[] { BuildTarget.StandaloneWindows, 0, 0 });
method.Invoke(null, new object[] { BuildTarget.StandaloneWindows64, 0, 0 });
#if UNITY_2017_3_OR_NEWER
method.Invoke(null, new object[] { BuildTarget.StandaloneOSX, 0, 0 });
#else
method.Invoke(null, new object[] { BuildTarget.StandaloneOSXUniversal, 0, 0 });
#endif
method.Invoke(null, new object[] { BuildTarget.StandaloneLinux, 0, 0 });
method.Invoke(null, new object[] { BuildTarget.StandaloneLinux64, 0, 0 });
}
}
#endif

T[] GetTargets<T>() where T : Component
T[] GetTargets<T>() where T : Component
{
if (m_settings.scope == ExportScope.TargetBranch && targetBranch != null)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#if UNITY_2017_1_OR_NEWER

using UnityEngine.Playables;
using UnityEngine.Playables;

namespace UTJ.Alembic
{
Expand All @@ -21,5 +19,3 @@ public override void ProcessFrame(Playable playable, FrameData info, object play
}
}
}

#endif

0 comments on commit 20f9909

Please sign in to comment.