1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Unity小ネタ

Last updated at Posted at 2021-01-19

Prefabの切断

[選択してRightButton]-[Unpack Prefab Completely]
プレハブインスタンスの展開

StandardAsset

Standard Assetsのダウンロードとインポート

Untiyにもどってきたのときのビルド

UnityのスクリプトをVisualStudioなどで編集したときの話。
デフォルトの設定ではスクリプトを編集してUnityにもどってくると自動でコンパイルが走ります。編集したかったスクリプトが一つの場合はこれで問題ありません。しかし、編集したいスクリプトが複数ある場合に下記のような編集の仕方だとUnityに戻るたびにコンパイルが走ってしまいます。

スクリプト編集してUnityに戻ってきたときのプチフリーズ(コンパイル時間)がもったいない

TextMesh Pro

Unity公式になった。
TextMesh Pro

ScrollView

UIです。ScrollView

UnityAndroidのタッチ操作

使えそうなローポリ背景

https://assetstore.unity.com/packages/3d/props/exterior/low-poly-brick-houses-131899
https://assetstore.unity.com/packages/3d/environments/landscapes/low-poly-cliff-pack-67289
https://assetstore.unity.com/packages/3d/environments/landscapes/low-poly-simple-nature-pack-162153
https://assetstore.unity.com/packages/3d/characters/humanoids/free-voxel-girl-95532

端末名称を取得する

Unityで端末の情報(OS, 機種名, メモリサイズなど)を取得する!
端末情報の取得には、Unity標準のSystemInfoクラスを使います〜

Unityのバーチャルパッド

[Unityのバーチャルパッドの追加]
(https://note.com/npaka/n/neafdd3059b0c)
unity export

実行した端末がQuestか否か。

if OCULUS #endif でよかった...

	public static bool isQuest(){
		string str = SystemInfo.deviceModel;
		if( str.Contains("Oculus" ))
			return true;
        
		return false;
	}

skyboxのテスクチャ変更

image.png

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?