2020-01-01から1年間の記事一覧
Boltとはなんぞやblogs.unity3d.com プログラムをGUI(グラフィカルユーザーインターフェース)で作成できる機能。 C#スクリプトでやるか、Boltでやるかの違いぐらいかな。 UE(アンリアルエンジン)のブループリントと似ている。 docs.unrealengine.com Boltの…
1.画像を用意 2.スプライトだったらテクスチャー(Default)に変更 3.WrapModeをRepeatに変更画像タイプ4.Materialを用意 5.Shaderを Unlit/Textureに変更マテリアル6.スクリプトを用意 using System.Collections; using System.Collections.Generic; using Un…
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { Rigidbody2D rigidbody2D; // Start is called before the first frame update void Start() { rigidbody2D = GetCompon…