[Unity] 存檔系統 Part 1 | PlayerPrefs | 初學者系列教程 | 數據持久化 | 數據存取 | 存檔讀檔
在本影片中你將學到Unity引擎中三種常見的數據存儲方式中的第一種:PlayerPrefs.
主要內容:
1. 什麼是PlayerPrefs
2. 如何使用PlayerPrefs
3. PlayerPrefs的優缺點以及適用範圍
4. 構建一個基於PlayerPrefs的基礎數據存取系統
本影片是Unity存檔系統系列教程的第一部分。
––––––––––––––––––––––––––––––
教程示範項目初始工程文件下載 - GitHub -
https://github.com/AtCloudStudio/SaveSystemTutorial
––––––––––––––––––––––––––––––
Unity 存檔系統 Part 1 - PlayerPrefs: https://youtu.be/tci13zedrzw
Unity 存檔系統 Part 2 - JSON: https://youtu.be/1vOuh3_ZXRQ
—————————————————————————
希望對大家的遊戲開發之路有所幫助 :)
💬有任何問題請在評論中留言,我會盡力回答。
––––––––––––––––––––––––––––––
參考資料鏈接:
PlayerPrefs - Unity Documentation -
https://docs.unity3d.com/ScriptReference/PlayerPrefs.html
JsonUtility - Unity Documentation -
https://docs.unity3d.com/ScriptReference/JsonUtility.html
MenuItem - Unity Documentation -
https://docs.unity3d.com/ScriptReference/MenuItem.html
––––––––––––––––––––––––––––––
你好啊!我是阿嚴,一個小小的獨立遊戲開發者與自由藝術家。
我每周都會更新獨立遊戲開發教程與日誌。
如果你覺得我的視頻還不錯,請幫我點贊並訂閱我的頻道,謝謝 :)
––––––––––––––––––––––––––––––
➤訂閱我的頻道 - https://www.youtube.com/channel/UCSRCf2y6LV8vpKSoXDoU2VQ?sub_confirmation=1
➤Discord Server - https://discord.gg/ZmTgSCe4Jq
➤Twitter - https://twitter.com/XuZuyan
➤ArtStation - https://www.artstation.com/xuzuyan
––––––––––––––––––––––––––––––
00:00 教程簡介
01:08 演示項目介紹
02:26 什麼是PlayerPrefs
03:54 PlayerPrefs的用法
09:36 PlayerPrefs的拓展
17:40 總結
19:02 尾聲
––––––––––––––––––––––––––––––
#unity
unity教程
unity中文教程
遊戲開發
獨立遊戲
獨立遊戲開發
#PlayerPrefs
#存檔系統
存檔與讀檔
數據存取