この記事は著者がYouTubeなどのサイトでunityを使って勉強してる時に起きたバグをメモがわりに書いたものを書き直して記事にしたものですので色々不自然なとかがあります。人によって開発環境とかも違うので参考までに、 軽くみてください。 unity での ...
こんにちは。今日はUnityのスクリプトの使い方について説明したいと思います。 今回はサンプルとして球をキーボード操作によって動かしてみます。 初期設定 今回はスクリプトの説明が主体ですが、ステージを作った手順を簡単に記載します。 新しい ...
キー入力でキャラが移動するスクリプトを追加 次に、キー入力でキャラが移動するスクリプトを追加する。Hierarchyから「Horse」を選択し、「Add Component」で「New Script」を選択する。「Name」に「HorseRun」と指定し、「Language」には「C Sharp」を選択する。「Create ...
Unityで3Dゲームを作るまでのいろいろな処理を解説する連載。今回は、Terrainで山、草、木を作る方法、人型の3Dモデルをキーボードで動かす方法、Box Colliderで当たり判定のスクリプトを追加する方法などを紹介する【Windows 10、Unity 5.4に対応。C#のコードを追加 ...
ゲーム専門学校の新人講師がUnityを勉強しながら、「ゲームのおもしろさとは何か」について授業を行う泥縄式レポートの第二段。水先案内人となるのがユニティ・テクノロジーズ・ジャパンから提供中の無料教材「あそびのデザイン講座」だ。今回は迷路 ...
A very short but very effective script to automate your Build And Run process! 🇬🇧 This project contains a script for automating the build and run processes for Unity projects. It allows you to ...
Welcome to the ultimate guide for using the JrsOrbitCamera, a free and open-source third-person vehicle camera script for Unity. Whether you're a beginner or an experienced developer, this guide will ...
How To Create AI That Follow Player With Unity 3D And C# In this quick and easy Unity tutorial, I will show you how to code in C# a simple enemy follow script ...
So you are writing a really cool editor extension in Unity and things seem to be going really well. You get your data structures all sorted out are really happy with how the tool you have written ...