2022-05-24から1日間の記事一覧
概要 Method XXXX.YYYY has invalid parameters. MenuCommand is the only optional supported parameter. MenuItem が適用された関数を定義した時に上記の警告が表示される現象に遭遇した using UnityEditor; using MenuCommand = System.ComponentModel.De…
概要 Unity の「Window > Rendering > Lighting」の 「Lighting Settings Asset」が設定されていない状態で Debug.Log( Lightmapping.lightingSettings ); 上記のようなコードを記述すると Exception: Lightmapping.lightingSettings is null. Please assign…
概要 ArgumentException: Input Button XXXX is not setup. To change the input settings use: Edit -> Settings -> Input 上記のようなエラーが発生する場合、 using UnityEngine; public class Example : MonoBehaviour { private void Update() { if ( I…
概要 Unable to parse Build/XXXX.framework.js.gz! This can happen if build compression was enabled but web server hosting the content was misconfigured to not serve the file with HTTP Response Header "Content-Encoding: gzip" present. Check …
はじめに 「Compact-Unity-Events」を Unity プロジェクトに導入することで Inspector の UnityEvent の表示をコンパクトにできます 導入前 導入後