コガネブログ

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

2023-03-20から1日間の記事一覧

【Unity】TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 30717

概要 TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 30717 Internal: Stack allocator ALLOC_TEMP_MAIN has unfreed allocations, size 30717 To Debug, run app with -diag-temp-memory-leak-validat…

【Unity】TreeView で検索した時に要素の表示順が変わってしまう場合

概要 protected override bool DoesItemMatchSearch ( TreeViewItem treeViewItem, string search ) { // ... } TreeView の DoesItemMatchSearch をオーバーライドして検索処理を実装した際に、 MultiColumnHeader の sortedColumnIndex が無視されてしまう…

【Unity】ScriptableSingleton の拡張メソッド

リポジトリ 使用例 // protected な Save 関数を public で呼び出せるようにする拡張メソッド scriptableSingleton.Save( true );