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英語
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

ガイド付きプロジェクトの仕組み

ワークスペースは、ブラウザに完全にロードされたクラウドデスクトップですので、ダウンロードは不要です

分割画面のビデオで、講師が手順ごとにガイドします

よくある質問

よくある質問

さらに質問がある場合は、受講者ヘルプセンターにアクセスしてください。