private void OnSceneGUI() { RF_Linker_Path Path = target as RF_Linker_Path; { DrawPathData(ref Path, DrawMode.Bezier, name); DrawPathTangent(ref Path); var temp = Path.BelongStation; Linker_Station_Editor.DrawMarkerPostion(ref temp); temp = Path.Next.BelongStation; Linker_Station_Editor.DrawMarkerPostion(ref temp); } }
private void OnSceneGUI() { RF_Follower_Base Follower = target as RF_Follower_Base; { if (Application.isPlaying) { if (Follower.InAction) { ViewPath(ref Follower); } else { Linker_Station_Editor.DrawPathLines(ref Follower.CurrentStation, DrawMode.Curve); } ViewFollowerData(ref Follower); } } }