找回密碼
 注冊帳號

掃一掃,訪問微社區

application.loadedlevelname 加載的關卡名字

2014-12-31 08:22| 發布者: 楊炎| 查看: 3152| 評論: 0|原作者: 蠻牛|來自: unity3d腳本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);

相關閱讀

文章點評
相關文章
女校游泳队彩金