mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 15:40:29 +01:00
Removed debugGraphics parameter from LoopToDrawDebugGraphics method.
This commit is contained in:
parent
022097211c
commit
d177b624cd
1 changed files with 2 additions and 4 deletions
|
|
@ -1,22 +1,20 @@
|
|||
using Rage;
|
||||
using RAGENativeUI.Elements;
|
||||
using System.Drawing;
|
||||
|
||||
namespace SceneManager
|
||||
{
|
||||
class DebugGraphics
|
||||
{
|
||||
public static void LoopToDrawDebugGraphics(UIMenuCheckboxItem debugGraphics, Path path)
|
||||
public static void LoopToDrawDebugGraphics(Path path)
|
||||
{
|
||||
GameFiber.StartNew(() =>
|
||||
{
|
||||
while (debugGraphics.Checked)
|
||||
while (SettingsMenu.debugGraphics.Checked)
|
||||
{
|
||||
if (MenuManager.menuPool.IsAnyMenuOpen() && path != null)
|
||||
{
|
||||
for (int i = 0; i < path.Waypoints.Count; i++)
|
||||
{
|
||||
//Draw3DMarkersAtWaypoints(path, i);
|
||||
path.Waypoints[i].DrawWaypointMarker();
|
||||
|
||||
if (i != path.Waypoints.Count - 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue