お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
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レベルがロードされているか確認します(RO)
LoadLevel と LoadLevelAdditive がすぐに実行されない - 新しいレベルは
現在のゲームフレームが終了した後にロードされます。このフレームで既にレベルをロードするリクエストをしている場合、isLoadingLevelは true
を返します。
See Also: LoadLevel, LoadLevelAdditive.
print(Application.isLoadingLevel);
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Example() { print(Application.isLoadingLevel); } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def Example() as void: print(Application.isLoadingLevel)