Entries from 2021-02-01 to 1 month
小数部分を得る float value = 6.7071f; value = value - Mathf.Floor (value); print (value); float value2 = Mathf.PI; value2 = value2 % 1; print (value2);
https://www.qrcode-monkey.com/
使用したBlenderアドオン github.com インストール ここにあるzipをblenderにインストールする。やり方は動画を見た、たしか。 Releases · eliemichel/MapsModelsImporter · GitHub 成功するとimportにgooglemapのやつがでる。 使用したバージョン これが違…
dev.to
qiita.com https://caitsithware.com/wordpress/archives/1377 scriptable 【Unity】ScriptableObjectってなんなん? って時に読む記事【解説】 │ エクスプラボ bezier www.asset-sale.net
Bake vertices to PNG 頂点をPNGにベイク using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; #if UNITY_EDITOR using UnityEditor; using System.IO; #endif namespace HOGE { public class MeshVertBake…
Distance from camera float dist = length(_WorldSpaceCameraPos - i.worldPos);
ボドゲをやらないのでボドゲの常識なのかもだが、面白いと思った点 共感を得やすい現実世界を下敷きにしてる お金=けた外れの金を稼ぐ快感 日本地図=日本人ならなじみのある地名、地元、名産 特産物の物件 時間=毎月・1年という単位
コード 文字列でsplit string str = "1234 1234 unko 123 1131"; string[] splitStr = {"unko"}; string[] ary = str.Split(splitStr, StringSplitOptions.None); Debug.Log(ary.Length);//2 Debug.Log(ary[0]);//1234 1234 Debug.Log(ary[1]);// 123 1131 …
compute shaderをつかって頂点をベイクする using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; #if UNITY_EDITOR using UnityEditor; using System.IO; #endif public class MeshVertBaker2 : MonoBehavi…
bake vertices to texture2d using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; #if UNITY_EDITOR using UnityEditor; using System.IO; #endif public class MeshVertBaker1 : MonoBehaviour { [Seriali…
JSONObject使い方 import using UnityEngine; using System.IO; public class JsonLoader : MonoBehaviour { public TextAsset data; // private List<Vector3> _hoge; void Start() { Debug.Log(data.text); //読み込む var a = new JSONObject(data.text); var n = </vector3>…