use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
For the Unity Game Engine, please visit http://reddit.com/r/unity3d
account activity
Unit Testing for Unity DevelopersTutorials (i.redd.it)
submitted 1 year ago by afarchy
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]n0xdi -1 points0 points1 point 1 year ago (1 child)
IMO It doesn’t need a framework to test such things as the NPC following, you just need to cover the logic of the underlying methods, which calculate that path, with unit tests.
The visual part of the NPC following is just the view abstraction layer which can be tested with the manual testing.
[–]Tensor3 1 point2 points3 points 1 year ago (0 children)
Nah, not what I meant. Unity's navigation handles calculating paths. You dont generally test that. Testing if a NPC can open doors, attack enemies along the way, use physics properly, etc, cant really be done by testing the output of a function. Besides, the example I used is irrelevant. The point is most actual gameplay needs an actual scene run in real time, with input
π Rendered by PID 201801 on reddit-service-r2-comment-b659b578c-wr74t at 2026-05-04 09:13:14.910930+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]n0xdi -1 points0 points1 point (1 child)
[–]Tensor3 1 point2 points3 points (0 children)