sturdyspoon / unity-movement-ai

A Unity library for common movement AI
MIT License
1.95k stars 280 forks source link

Debug library? #10

Closed nicmar closed 5 years ago

nicmar commented 5 years ago

Hi, very impressive library! I'm trying it out right now, on the dev branch, :)

There are some references to a class called DebugDraw in Wander1.cs, which seems useful. Can you share that code?

        //      DebugDraw debugDraw = gameObject.GetComponent<DebugDraw> ();
        //      debugRing = debugDraw.createRing (Vector3.zero, wanderRadius);

Thanks!

sturdyspoon commented 5 years ago

I don't have the code for it anymore since I wasn't really using it. It only had one function in it createRing() and all the function did was instantiate a prefab of a ring. So unfortunately it wasn't very useful.

nicmar commented 5 years ago

No problem, it’s a great library (the dev branch works great) and we will definitely mention you in the credits of the game we’re making. :)

sturdyspoon commented 5 years ago

Thats awesome :D Good luck with your game!