YangYuXan / PCG

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PCG

How to use:

1.First create a empty object,and add a navMesh surface component. image

2.Put Dungeon prefab to level

image

height and width is the map size

smooth set 2 or 3 is the best

White mark is the ground

G1-G4 is the wall

Agent

There are two types of Agents, The thief will randomly wander around the map when the Award Box is not detected. Once it sees contact (ray detection), it will run back to the starting point with the box.

image

The guard (Troll) will patrol around the box, and once it finds the thief, it will chase him.

image

Video

https://youtu.be/CXiLQKv9ZY4

About


Languages

Language:C# 100.0%