Unity是一款跨平台的游戏开发工具，从一开始就被设计成易于使用的产品。作为一个完全集成的专业级应用，Unity还包含了价值数百万美元的功能强大的游戏引擎。Unity 4作为一个游戏开发工具，它的设计主旨就是让你能够创建令人惊讶的游戏。如果你之前尝试过Unity，请查看Unity 3都做了哪些更新。如果你是第一次尝试，那就好好看看吧，看Unity都能为你带来什么。Unity作为一种开发环境，可让你脱离传统的游戏开发方式，以一种更简单的方式专注于你的游戏开发。开发网络游戏、移动游戏、单机游戏，Unity都能完全胜任。
本帖隐藏的内容Population Engine Scripting/AI
Requires Unity 5.3.1 or higher.
Unity 5.4 Users: DOWNLOAD UPDATE
Population Engine breathes life into your cities, villages, and dungeons. It can mass-produce any object - people, buildings, trees, props - and intelligently place them in your scene around obstacles. Build your game level in minutes, not weeks or months!
WebGL Demos | 40-Page Manual
Video Tutorials (Watch on this page)
FOR NPCs: Automatically places your characters and vehicles in your scene, around obstacles such as buildings, cars, tables, etc… It then powers your NPCs to move around to simulate a living population. NPCs automatically stop and look at specific objects. You can set up unlimited routes and traffic directions. Includes advanced movement script with Head Look Controller, animations, Mechanim Animation Controller, and free humanoid models for testing.
FOR PROPS & TERRAINS & MORE: Not just for NPCs! You can generate anything you want - trees, props, rocks, cars, etc... Imagine placing 100 rocks in a forest by hand, making sure they don't overlap any buildings or people. You can also spawn grass/trees on anything, not just terrain. You can even spawn random sounds.
FOR LEVEL DESIGNERS: In-editor tools allow you to manually "paint" objects into your scene with a single click. It automatically detects props, tables, rocks, etc... and places your people around them. All without any coding! Effortlessly insert hundreds of objects into your scene.
FOR DEVELOPERS: Everything here can be done without any coding. If you want more advanced integration, use our simple API. Sample scripts included.
FOR PERFORMANCE: Generate population only when your player moves into that area.
FOR DUNGEONS: Spawn enemy waves & set traps (Falling rocks!) when the player walks into a trigger area.
FOR COMPLEX SCENES: Complex scene? No problem. People always spawn on floors. Birds always spawn on rooftops. Ships always spawn on water. Food always spawn on plates. Plates always spawn on tables. You set the rules & the size of the city. Population Engine automatically generates the rest!
FOR RPGs: Spawn elves when the player reaches the forest. Spawn dragons in the mountains. 50% chance of being attacked when in the forest. Populate each town with busy people that stop to glance at you. The choice is yours.
FOR PROCEDURALLY GENERATED GAMES: Making a rogue-like? Want to maximize variation and replay-value? Randomly populate entire cities at runtime that is different each time for your players.
+ Editor Tools to use without coding
+ Drag/Drop Waypoint System
+ Drag/Drop Advanced spawn system
+ Runtime Generation
+ Manual generation in editor
+ Movement System ready to go (C# source)
+ Animator Controllers set up for you
+ Head Look Controller integration
+ Sample scripts (though no coding required)
+ Simple API for custom scripts
+ 13 Demo Scenes
+ 40 Page Manual
+ Free Mechanim models (As shown in demos)
+ Pre-built city demo with population and flying cars
+ Bonus Debugging Camera that allows you to observe your population in specific areas
+ Character prefabs set up with motor and head look controller
CREATIVE USE-CASES (no coding) + Spawn hundreds of people in a town without overlapping any obstacles. + Spawn houses on terrain, along the edge of a river. + Add traps that trigger falling rocks when player moves in. + Simulate flying cars, birds, multiple traffic layers. + Randomly spawn falling meteors. + Create 2-way road with opposite direction traffic. + Paint grass/trees on anything, not just terrain. + Spawn random sounds when player moves into area.
NOTES This is primarily a population system that generates moving NPCs. It is not meant to be a full featured city/dungeon generator. The bonus is that you can use the same features to mass-generate buildings and other props.