パスウェイ
ライブEducators Hub
  • Sidebar node image
    tutorial
    Write a script for character movement
Unityバージョン: 2020.3
変更
Steps
  • 1 The Player Character Continued
  • 2 Create your First Script (PlayerMovement)
  • 3 Create variables for the Horizontal and Vertical axes
  • 4 How Did You Create That Variable?
  • 5 Make a Vector
  • 6 Set the Values for your Variable
  • 7 Set up the Animator component
  • 8 Create a variable to store a reference to the Animator component
  • 9 Get a reference to the Animator component
  • 10 Set up the reference to the Animator component
  • 11 Create a Rotation for Your Character
  • 12 Adjust the turnSpeed variable
  • 13 Apply Movement and Rotation to your Character
  • 14 Movement
  • 15 Rotation
  • 16 Change your Update Method
  • 17 Test your Changes
  • 18 Adjust your Game View Settings
  • 19 Summary
  • You finished!

Unity バージョン 2020.3

Other versions available

Don’t have a compatible version?

Install a new version from the Unity Hub

続ける
Language
Social
学習
  • パスウェイ
  • コース
  • プロジェクト
  • チュートリアル
  • 教育者ハブ
ライブ
  • ライブセッション
  • 過去の録画
教育プラン
  • 学生
  • 教育者
  • 教育機関
  • 認定
リソース
  • Unityアセットストア
  • コミュニティ
  • ドキュメント
  • Unity FAQ
  • 学習FAQ
Unity
  • Unity.com
  • ニュースレター
  • ブログ
  • イベント
  • Unity Play
Copyright © 2026 Unity Technologies
  • 法的情報
  • プライバシーポリシー
  • クッキーについて
  • 個人情報を販売しない
「"Unity"」の名称、Unity のロゴ、およびその他の Unity の商標は、米国およびその他の国における Unity Technologies またはその関係会社の商標または登録商標です (詳しくはこちら)。その他の名称またはブランドは該当する所有者の商標です。