!!! Unity Editor上のRenderTextureをリアルタイム更新 要 : using UnityEditor; Editor上のInspectorなどで表示するRenderTextureなどをその都度更新するには、 RenderTexture outputTexture = RenderTextureを作成 ... EditorUtility.SetDirty(outputTexture); のように、「EditorUtility.SetDirty(ターゲット);」を使用します。 void OnPostRender() のような定期的に呼ばれる関数から指定します。 Inspector上の表示は、RenderTexture 自身がリアルタイムに更新されたとしても このSetDirtyを呼ぶかUnity Editorの描画更新が発生しない限りは更新されません。 ---- {{lastmodified}}