お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close開いているシーンを保存したいかどうかをユーザーに尋ねます
他のシーンを開きたい場合や新しいシーンを作成したい場合、この関数を使用します。 戻り値はtrueでは、シーンを保存し操作を継続してもよいことを指しています。 戻り値がfalseでは、ユーザーが操作をキャンセルし他のシーンを開くべきではないと判断した時です。