diff --git a/src/Cinematic/ArrowGenerator.cs b/src/Cinematic/ArrowGenerator.cs index d9ce972..b8609d7 100644 --- a/src/Cinematic/ArrowGenerator.cs +++ b/src/Cinematic/ArrowGenerator.cs @@ -1,6 +1,12 @@ using HarmonyLib; using System.Collections.Generic; using UnityEngine; +#if UNHOLLOWER +using IL2CPPUtils = UnhollowerBaseLib.UnhollowerUtils; +#endif +#if INTEROP +using IL2CPPUtils = Il2CppInterop.Common.Il2CppInteropUtils; +#endif namespace UnityExplorer { diff --git a/src/UI/Panels/CamPaths.cs b/src/UI/Panels/CamPaths.cs index 4ec271a..370c2ec 100644 --- a/src/UI/Panels/CamPaths.cs +++ b/src/UI/Panels/CamPaths.cs @@ -224,6 +224,7 @@ namespace UnityExplorer.UI.Panels continue; } + // We could expose the color of the arrow to a setting GameObject arrow = ArrowGenerator.CreateArrow(lookaheadPoints[i].position, lookaheadPoints[i].rotation, Color.green); arrow.transform.SetParent(pathVisualizer.transform, true); n = 0;