Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Unity Beginner HandsOn

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
Avatar for swingin.joe.221 swingin.joe.221
April 21, 2019
340

Unity Beginner HandsOn

Image Only

Avatar for swingin.joe.221

swingin.joe.221

April 21, 2019
Tweet

Transcript

  1. 詳細な時間割 • 前半45分 - ゲームシーン作成(20分) 13:10~13:30 - 画面遷移とUI (20分) 13:30~13:50

    • 後半45分 - スコアマネージャーの実装 (20分) 14:00~14:20 - サウンドマネージャーの実装(10分) 14:20~14:30 - ランキング機能の実装 (15分) 14:30~14:45
  2. Stage1 ゲームメカニクス using System.Collections; using System.Collections.Generic; using UnityEngine; public class

    StageController : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } } ゲームシーンが表示されてから最初に実行される処理 毎フレーム実行される処理 StageController.cs
  3. Stage1 ゲームメカニクス using System.Collections; using System.Collections.Generic; using UnityEngine; public class

    StageController : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { // プレイヤーの入力を取得して、変数に保持 float inputHorizontal = Input.GetAxis("Horizontal"); float inputVertical = Input.GetAxis("Vertical"); // プレイヤーの入力値をもとに、オブジェクトの角度を変更 transform.Rotate(new Vector3(0f, 0f, (inputHorizontal * -1.0f))); transform.Rotate(new Vector3(inputVertical, 0f, 0f)); } } StageController.cs