うにてぃブログ

主にUnityとC#に関する記事を書いていきます

2020-09-28から1日間の記事一覧

【Unity】Texture の Read/Write Enabled 変更する Scope

Texture の Read/Write Enabled 変更して 戻すには 似た処理を 2回書く必要があったので それなら Scope にしてしまえと思ったので作成してみました using UnityEditor; using UnityEngine; public class TextureReadableScope : GUI.Scope { private string…