コガネブログ

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

【Unity】string.IsNullOrWhiteSpace を簡単に書けるようにするソーステンプレート

ソースコード

[SourceTemplate]
public static void isnullorwhitespace( this string self )
{
    /*$ string.IsNullOrWhiteSpace( str ) */
}