Create Simple Enemy Behaviour with C# in Unity (Intro to AI)

提供方
Coursera Project Network
在此指导项目中,您将:

Understand how to create behaviors for patrol, chase and attack.

Understand how to raise events based on given conditions for discrete behaviors.

Understand the principle of a behavior manager that can determine and switch between active behaviors.

Clock1.5 hours
Beginner初级
Cloud无需下载
Video分屏视频
Comment Dots英语(English)
Laptop仅限桌面

In this one-hour, project-based course, you'll learn how to create a simple enemy behavior tree. You'll learn how to make your enemy characters patrol an area, chase a player in range and attack when it's close enough for melee. You will be able to easily expand the behavior system we create, to add your own conditional behaviors. To build a behavior tree, this guided project will use and expand upon the following Unity concepts: - Transform-based movement - Rigidbody collisions and triggers - Interfaces - Events Consider this guided project to be a "capstone" project for beginners. If you can comfortably complete this course, understand all concepts presented and can reproduce them in your own projects, then congratulations! You have officially graduated to "Intermediate!"

您要培养的技能

  • Video-game Development
  • C sharp (C#) Programming Language
  • Unity 3D
  • Unity
  • Application development

分步进行学习

在与您的工作区一起在分屏中播放的视频中,您的授课教师将指导您完成每个步骤:

  1. Introduction and License Activation

  2. Create a Basic Patrol Script

  3. Create a Basic Chase Script

  4. Create IBehavior and BehaviorManager

  5. Declare and Raise Events when Behavior Changes

  6. Write the Attack Behavior

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心