★Toshiaki Yamasaki
(2024年3月23日) <The Worldの実装> using System.Collections; using System.Collections.Generic; using UnityEngine; pub...
(2024年3月23日) <The Worldの実装> using System.Collections; using System.Collections.Generic; using UnityEngine; pub...
(2024年2月24日) ・Unityを起動 ・下記のようなエラーが表示されたら「Ignore」をクリックしましょう。 <スクリプトの修正> ・「PlayerMovement」スクリプトを開く ・42行目の最後に「セミコ...
(2024年2月24日) <人型のキャラを動かす> using System.Collections; using System.Collections.Generic; using UnityEngine; publi...
(2024年3月11日) <レースクラスの設定> (1)CPUスクリプトの改良 using System.Collections; using System.Collections.Generic; using Unit...
(2024年2月17日) <rayがヒットしたポイントにボムを出現させる> ★部分の2箇所のコードを修正すればOK using System.Collections; using System.Collections.G...
(2024年2月7日) <宮田一郎の設定> ・AudioSourceの追加 ・Canvasの中にある鷹村のHPスライダー等を宮田専用に名前を変える。 ・Miyata HPの空欄を埋める(設定する) ・宮田カメラの修正 ・...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyContro...
(2024年2月10日) <ビームの当たり判定が反応しない> ・Max Collision Shapes(=パーティクル衝突判定に使用される衝突形状の数)の数値が0になっているのが原因(この数値を上げればOK) (202...
(2024年1月13日) <円ホーミング> using System.Collections; using System.Collections.Generic; using UnityEngine; public cl...
(2023年1月15日) <メダル落としゲーム;ボードとコインの動きを連動させる> *動的に親子関係&関係解除でいく。 using System.Collections; using System.Collections...
(2024年1月8日) <サインの往復移動を制限する> using System.Collections; using System.Collections.Generic; using UnityEngine; pub...
<2024年1月6日> (スクリプト1) using System.Collections; using System.Collections.Generic; using UnityEngine; public cla...
(2024年1月10日) <追尾弾> (追尾弾用スクリプト) using System.Collections; using System.Collections.Generic; using UnityEngine; ...
(2023年1月17日) <スケールチェンジができるのは1回だけ> *ScaleChangeスクリプトの改良 using System.Collections; using System.Collections.Gene...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyShotShell : M...
(テトリスのホールド機能) 「以下は、Unityでテトリスのホールド機能を実装するためのC#のプログラムコードの例です。このコードは、テトリスのブロックをホールドするための機能を追加します。」 using UnityEn...
(2023年4月12日) <Coinを取得できない原因> ・コライダーが外れている。
(1) *ゲームクリアーのルールを決めて、それを実装してください。 (例) コインを◯◯枚集める。 敵の的を◯◯個破壊する。 制限時間何にゴールまでたどり着く。 などなど (2) *ステージを作り込んでください。 これま...
(復習) BallGameのテキスト「タイムアタックを作ろう」を参考にして、制限時間内にクリアーできなければゲームオーバーになる仕組みを作ってください。 *このセクションは、BallGameのテキストを見ながら進めましょ...
(的の作成) 新規に「Cube」を作成 名前を「Target」に変更 大きさは自由 好きな画像を付ける。 (的を破壊する) 新規にC#スクリプトを作成 名前を「DestroyTarget」に変更 下記のコードを書いてチェ...
(ボムの作成) 新規に「Sphere」を作成 名前を「Bomb」に変更 大きさは自由 好きな画像を付ける。 「Rigidbody」を追加 BombオブジェクトをAssetsエリアにドラッグ&ドロップしてPr...
(GateBoxの作成) 新規にCubeを作成 名前を「Block」に変更 「Scale」で大きさ変更(大きさは自由) 組み合わせて箱を作成しましょう まずはここまで作りましょう! ここまでできたら、パーツオブジェクトを...
(UIの作成) 「Hierarchy」の「+」をクリック 「UI」・・・>「Canvas」をクリック 名前を「PlayerCanvas」に変更 「PlayerCanvas」を選択して右クリック 「UI」・・・>「Text...