application.loadedlevelname 加载的关卡名字

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

摘要: application.loadedlevelname 加载的关卡名字static varloadedlevelname: stringdescription描述the name of the level that was last loaded (read only).最后加载的关卡的名字。(只读)c#javascriptusing unityen ...

application.loadedlevelname 加载的关卡名字

static varloadedlevelname: string

description描述

the name of the level that was last loaded (read only).

最后加载的关卡的名字。(只读)

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

print(application.loadedlevelname);

}

}

//打印当前场景名字

print (application.loadedlevelname);

相关阅读

文章点评
相关文章