學習Unity Day 3

Group content visibility: 
Use group defaults

這裏是掌控切換場景的程式碼,利用SceneManagment中的LoadScene功能來切換到指定場景。

 

上次寫的界面用到的playerstat的部分這次補交:

先是老傳統:要用的東西要先宣告

Names: 專門存使用者的名字,由於牽扯到字母所以使用string

Age: 專門存使用者的年齡,由於牽扯到數字所以使用int

Gender: 專門存使用者的性別, 由於牽扯到字母所以使用string

Candy: 專門存使用者的糖果總數(事件會用到),由於牽扯到數字所以使用int

Playcounter: 專門存使用者在游樂設施游玩的次數,由於牽扯到數字所以使用int

Money: 專門存使用者的荷包 ,由於牽扯到數字所以使用int (不使用double或float是因爲新臺幣的交易上不存在小數)

 

Clickcounter: 專門存使用者的選項點擊次數,由於牽扯到數字所以使用int

 

回應

Thank you for sharing the information that there is code that controls scene switching using the LoadScene function in scenemanagment . You are professionals in your field.When I had a need, I applied resume services and received professional help.

I am very pleased to see this post because every detail are in this article is very impressive. Call Girls in Gurgaon