コガネブログ

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

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

【Python】docopt 使用例

ソースコード """ Usage: hoge.py -h hoge.py (--input-path <input-path>) (--output-path <output-path>) (--column <column>) (--start-x <start-x>) (--start-y <start-y>) (--offset-x <offset-x>) (--offset-y <offset-y>) (--height <height>) Options: -h --help Show this screen. --input-path <input-path> Input imag…</input-path></height></offset-y></offset-x></start-y></start-x></column></output-path></input-path>

【Python】python-pptx で画像ファイルの名前を取得する方法

概要 from pptx import Presentation from pptx.enum.shapes import MSO_SHAPE_TYPE if __name__ == '__main__': ppt = Presentation("【.pptx のファイルパス】") for slide in ppt.slides: for shape in slide.shapes: if shape.shape_type == MSO_SHAPE_T…

【Unity】Inspector で UnityEvent のリスナーの順番を変更できる「Easy Event Editor」紹介

はじめに 「Easy Event Editor」を Unity プロジェクトに導入することで Inspector で UnityEvent のリスナーの順番を変更できるようになります 使用例 適用前 適用後

【ReSharper】Visual Studio を軽量化する

はじめに Visual Studio メニューの「RESHARPER > Options」から 「Environment > Performance Guide」を選択すると、 Visual Studio の重たい設定を無効化して、軽量化することができます 軽量化したい項目を「Fix Silently」にすることで、 その機能を無効…