コガネブログ

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

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

【Git】git patch trailing whitespace

概要 git patch trailing whitespace patch 適用時に上記のエラーが発生する現象に遭遇した git apply --reject --whitespace=fix "【patch のファイルパス】" 上記のコマンドならエラーが発生せず正常に patch を適用できた 参考サイト様

【Unity】文字列の配列やリストから最も類似している文字列を検索できる拡張子メソッド

リポジトリ 使用例 using Kogane; using UnityEngine; public sealed class Example : MonoBehaviour { private void Start() { var texts = new[] { "Awake", "Start", "Update", "FixedUpdate", "LateUpdate", }; // Update Debug.Log( texts.GetMostSimil…