コガネブログ

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

【Unity】Unity Package Manager で使用できるおすすめのパッケージがまとめられたリポジトリ「Awesome UPM」紹介

概要 「Awesome UPM」は Unity Package Manager で使用できる おすすめのパッケージがまとめられたリポジトリです

【Unity】無料で使えるおすすめのパッケージやライブラリがまとめられたリポジトリ「Awesome Unity FREE」紹介

概要 「Awesome Unity FREE」は無料で使えるおすすめのパッケージや ライブラリがまとめられたリポジトリです

【Unity】Curl error 6: Could not resolve host: config.uca.cloud.unity3d.com

概要 Curl error 6: Could not resolve host: config.uca.cloud.unity3d.com Curl error 6: Could not resolve host: cdp.cloud.unity3d.com Unity 2019.2.15f1 において PC を機内モードにしたところ、何も操作していなくても Unity の Console ウィンドウ…

【Unity】おすすめのオープンソースがまとめられたリポジトリ「awesome-unity3d」紹介

概要 「awesome-unity3d」はおすすめのオープンソースがまとめられたリポジトリです

【Unity】Found plugins with same names, and . Delete the one of the duplicate plugins.

概要 Found plugins with same names, and . Delete the one of the duplicate plugins. Unity 2018.4 のプロジェクトを 2019.2 にアップデートして Android ビルドしようとしたところ、上記のエラーが発生してビルドできなかった Unity プロジェクトを終了…

【Unity】無料で使用できるおすすめのスクリプト、ライブラリ、プラグインがまとめられたリポジトリ「Unity Script Collection」紹介

概要 「Unity Script Collection」は無料で使用できるおすすめのスクリプト、 ライブラリ、プラグインがまとめられたリポジトリです

【Unity】おすすめのアセットやプロジェクトがまとめられたリポジトリ「Awesome Unity」紹介

概要 「Awesome Unity」はおすすめのアセットやプロジェクトがまとめられたリポジトリです

【Unity】GitHub で公開されているおすすめのオープンソース800個以上をカテゴリごとにまとめました

概要 GitHub で公開されているおすすめのオープンソース800個以上を カテゴリごとにまとめました 上記のリポジトリで確認できます

【Unity】シーン遷移時に簡単にデータを渡すことができるパッケージ「Unity Scene Data Transfer」を GitHub に公開しました

はじめに シーン遷移時に簡単にデータを渡すことができるパッケージ 「Unity Scene Data Transfer」を GitHub に公開しました インストール "com.baba_s.unity-scene-data-transfer": "https://github.com/baba-s/unity-scene-data-transfer.git", manifest.…

【Unity】CircleCollider2D に Physics2D.Raycast した時に当たった点の反対側の点を取得する方法

ソースコード public static Vector2 GetRayExitThroughCircle( CircleCollider2D circleCollider, Vector2 entryPoint, Vector2 direction ) { Vector2 colliderCenter = circleCollider.transform.position; Vector2 directionToCenter = colliderCenter -…

【C#】Console 出力を高速化する方法

C#

通常 using System; internal static class Program { private static void Main() { for ( int i = 0; i < 10000; i++ ) { Console.WriteLine( i ); } } } 高速化 using System; using System.IO; internal static class Program { private static void Mai…

【.NET Core】Unhandled Exception: System.ArgumentException: 'shift_jis' is not a supported encoding name

C#

概要 using System.Text; class Program { static void Main() { var encoding = Encoding.GetEncoding( "shift_jis" ); } } Encoding.GetEncoding で Shift-JIS を使用する際に Unhandled Exception: System.ArgumentException: 'shift_jis' is not a suppo…

【.NET Core】作成したプロジェクトで「Cannot resolve symbol 'XXXX'」と表示される場合

C#

概要 作成した .NET Core のプロジェクトで void や sting などが赤く表示され、 「Cannot resolve symbol 'XXXX'」と表示される場合 ソリューションエクスプローラーでプロジェクトを右クリックして 「プロパティ」を選択し、 「ターゲットフレームワーク」…

【ReSharper】変数やプロパティが代入されている箇所を検索する方法

概要 変数やプロパティを右クリックして「Inspect > Value Origin」を押すと 変数やプロパティが代入されている箇所を検索できます 参考サイト様

【おすすめスライド】「今日からできる!簡単 .NET 高速化 Tips」

スライド