{"id":18595591,"url":"https://github.com/minapecheux/unitytutorials-basicpatrolsystem","last_synced_at":"2025-04-10T16:31:34.625Z","repository":{"id":64148395,"uuid":"418174425","full_name":"MinaPecheux/UnityTutorials-BasicPatrolSystem","owner":"MinaPecheux","description":"The code for a short tutorial on how to create a basic waypoints-based patrol system in Unity/C# (in text or video format)!","archived":false,"fork":false,"pushed_at":"2022-04-23T07:43:50.000Z","size":1478,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T00:51:10.985Z","etag":null,"topics":["ai","csharp","patrol","system","unity","unity3d"],"latest_commit_sha":null,"homepage":"https://minapecheux.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MinaPecheux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-17T15:31:19.000Z","updated_at":"2025-02-06T23:32:57.000Z","dependencies_parsed_at":"2023-01-15T00:16:05.442Z","dependency_job_id":null,"html_url":"https://github.com/MinaPecheux/UnityTutorials-BasicPatrolSystem","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinaPecheux%2FUnityTutorials-BasicPatrolSystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinaPecheux%2FUnityTutorials-BasicPatrolSystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinaPecheux%2FUnityTutorials-BasicPatrolSystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinaPecheux%2FUnityTutorials-BasicPatrolSystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MinaPecheux","download_url":"https://codeload.github.com/MinaPecheux/UnityTutorials-BasicPatrolSystem/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248252691,"owners_count":21072701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","csharp","patrol","system","unity","unity3d"],"created_at":"2024-11-07T01:20:14.378Z","updated_at":"2025-04-10T16:31:30.645Z","avatar_url":"https://github.com/MinaPecheux.png","language":"C#","readme":"# [Unity/C#] A basic patrol system (using waypoints)\n\n**Mina Pêcheux - October 2021**\n\nHow can we create a basic patrolling system for character unit 3D movement that is waypoints-based? Let's discover more in this video/text tutorial: \"How to make a basic patrolling system in less than 30 minutes\" :)\n\nYou can read it in text format [on Medium](https://mina-pecheux.medium.com/how-to-make-a-basic-patrolling-system-in-unity-c-3bec0cf63478), or watch it [on Youtube](https://www.youtube.com/watch?v=oD7akZVgT4I).\n\n![thumbnail](imgs/thumbnail.png)\n\nIn this less than 30 minutes-tutorial, I'm discussing why adding an idle behavior to your units can be interesting, how to get a unit moving between waypoints and how to have it look at its target continuously or wait for a while at each waypoint!\n\nThis Github repo contains the script that is coded in the tutorial, plus an alternate version of the `Patrol` class, `PatrolCoroutines`, that shows how to implement the same basic patrolling system using **Unity coroutines** :)\n\n![demo](imgs/demo.gif)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminapecheux%2Funitytutorials-basicpatrolsystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminapecheux%2Funitytutorials-basicpatrolsystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminapecheux%2Funitytutorials-basicpatrolsystem/lists"}