application.isloadinglevel 正在加载关卡

2014-12-31 08:02| 发布者: 杨炎| 查看: 3099| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: application.isloadinglevel 正在加载关卡?static varisloadinglevel: booldescription描述is some level being loaded? (read only)是否有一些场景正在读取(只读)另译:是否正在加载某些关卡。loadlevelandloadl ...

application.isloadinglevel 正在加载关卡?

static varisloadinglevel: bool

description描述

is some level being loaded? (read only)

是否有一些场景正在读取(只读)

另译:是否正在加载某些关卡。

loadlevelandloadleveladditivedon't happen immediately - a new level is loaded after the current game frame finishes. isloadinglevel returns true if a level load was requested this frame already.

方法loadlevel和loadleveladditive不会立即生效-一个新的场景在当前游戏帧完成之后被加载。如果一个被请求加载场景的帧已经完成了,那么isloadinglevel返回值为true。

参见:loadlevel,loadleveladditive.

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

print(application.isloadinglevel);

}

}

print(application.isloadinglevel);

相关阅读

文章点评
相关文章