コガネブログ

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

2022-09-21から1日間の記事一覧

【Rider】Application のコード補完から UnityEngine.WSA.Application を非表示にする方法

概要 UnityEngine.WSA.Application Auto Import に上記の文字列を追加する

【Rider】Random のコード補完から Unity.Mathematics.Random を非表示にする方法

概要 Unity.Mathematics.Random Auto Import に上記の文字列を追加する

【C#】NPOI でどんなセルの値も文字列で取得できる拡張メソッド

拡張メソッド using NPOI.SS.UserModel; namespace Kogane { public static class ICellExtensionMethods { public static string GetValue( this ICell self ) { if ( self == null ) return string.Empty; return self.CellType switch { CellType.Numeric…