Unity:取得目前場景名稱/數字的方法

views

C# / JavaScript皆可:

結果如下:

 

比較:一般要Load場景是使用下面的方式和上面方式有大小寫的不同

This entry was posted in Android, iOS Development, Unity by Mr.M. Bookmark the permalink.


Leave a Reply

Your email address will not be published. Required fields are marked *