2018-11-01から1ヶ月間の記事一覧

Live2D Cubism SDK Unity 即実装メモ

Live2D Cubism SDKのsampleの「SampleApp1」をUnityで確認しながら、 「SampleApp1/Assets/Live2D/framework」のフレームワーク見れば大体の 動きがわかる。 そのフレームワークのLAppModelクラスに機能一覧が載っており、Unityでの実際の動作を確認してやり…

バッチファイル フォルダ内のファイルを一つずつ処理する小技

dirコマンドでフォルダ内のファイルを取得 > ファイルリストに書き込み、for文で実行する。 set testDir="/path/dir" dir /b /s /a-d %testDir% > file.list for /f %%I in (file.list) do ( echo %%I ) del file.list

Unity AssetPostprocessorを使ってインポート時にテクスチャを分割してみる

参考 https://anchan828.github.io/editor-manual/web/assetpostprocessor.html using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEditorInternal; using System.IO; public class SpriteAss…

バッチファイル ベストプラクティス

ラベルをコールを使って、関数のように処理を書く @echo off echo 【%0】 call :Initialize call :Cleanup call :CreateResouce call :CreateHoge exit /b :: -------------- :: 初期化 :: -------------- :Initialize echo %0 set TOOL1=Tool\hoge.exe set …