コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

2022-05-31から1日間の記事一覧

【Chrome】YouTube の自動翻訳の字幕を自動で日本語にする方法

手順 Chrome で上記のページを開いて「Tampermonkey」という拡張機能を追加します 次に上記のページを開いて 「スクリプトをインストール」ボタンを押します 続けて「インストール」ボタンを押します これで YouTube で動画ページを開いた時に自動翻訳の字幕…

【Unity】Debug.DrawLine が Game ウィンドウに描画されない場合

概要 Game ウィンドウの「Gizmos」をオンにすると描画される

【Unity】スクリプトから単純な Quad メッシュを作成する例

ソースコード private static Mesh CreateMesh( float width, float height ) { var halfWidth = width / 2; var halfHeight = height / 2; var vertices = new[] { new Vector3( -halfWidth, -halfHeight ), new Vector3( -halfWidth, +halfHeight ), new V…

【Unity】One or more cyclic dependencies detected between assemblies:

概要 One or more cyclic dependencies detected between assemblies: Packages/com.unity.2d.animation/Editor/Unity.2D.Animation.Editor.asmdef, Packages/com.unity.2d.animation/Runtime/Unity.2D.Animation.Runtime.asmdef, Packages/com.unity.2d.ani…

【Unity】Library\PackageCache\com.unity.entities@0.50.1-preview.2\Unity.Entities\DefaultWorld.cs(26,25): error CS0117: 'JobsUtility' does not contain a definition for 'ClearSystemIds'

概要 Library\PackageCache\com.unity.entities@0.50.1-preview.2\Unity.Entities\DefaultWorld.cs(26,25): error CS0117: 'JobsUtility' does not contain a definition for 'ClearSystemIds' Library\PackageCache\com.unity.entities@0.50.1-preview.2\Un…

【CSS】Chrome で Trello のカードの表示幅を広げる方法

概要 Stylus などで以下の CSS を登録します .list-wrapper { width: 320px !important; } .list-card { max-width: 320px !important; } 適用前 適用後