うにてぃブログ

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

ProjectSettings

【Unity】Script から ProjectSettings の Editing Environment を設定する

// Regular Environment EditorSettings.prefabRegularEnvironment = sceneAsset; // UI Environment EditorSettings.prefabUIEnvironment = sceneAsset;

【Unity】Preference や Project Settings に メニューを追加する

PreferenceItem を使おうと思ったら obsolete になっていたため 推奨されている SettingsProvider についてまとめる /// <summary> /// <para>(Obsolete: use the SettingsProvider class instead) The PreferenceItem attribute allows you to add preferences sections to</para></summary>…