Overview
本文主要分享從 Unity 2D 小遊戲轉移到 Cocos Creator 上的一些心得。
1. Why?
2. 會遇到什麼問題?
3. 轉移要花多少時間?
4. C# => TypeScript
5. Unity => Cocos
6. 小結
熱血人次: 409
如果你想要在不同 Apple 裝置間互傳或是資料轉移
可以使用官方的 iTunes 搭配 iCloud
但是通常只能整台轉移,或是不好一覽到底哪些該傳
Ease MobiMover 這款軟體可以讓在不同裝置傳輸之前
輕鬆勾選想要的項目進行傳輸,還有熱門影片平台下載功能!
Overview
下載 EaseUS MobiMover
手機傳送到 Mac
Mac 傳送到手機
內容管理
影片下載
熱血人次: 337
Solution 1
Use Unity.app directly instead of UnityHub.
Solution 2
Insert access database by SQLite.
熱血人次: 329
Overview
1. Install Jetbrains Rider
2. Unity External Tools
3. Unity File Templates
4. Namespace
5. Find Usages
6. Code Vision
7. Typo Detection
8. Error Detection
9. Unity Serialized Field Naming
10. Terminal
11. Version Control
12. Code Style
13. Reformat Code on Save (Macros)
14. Renaming MonoBehaviour
熱血人次: 1017
Recommended to use string.Concat() or directly use + operator for better performance.
Test times: 10,000,000
1. PlusOperator: 6825
2. Interpolation: 10037
3. StringFormat: 9940
4. StringConcat: 6822
5. StringJoin: 8255
6. StringBuilder: 7157
熱血人次: 309
Python3
brew install python3
python3 –version
PiP
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py
pip –version
Jupyter
pip3 install jupyter
熱血人次: 500
Overview
命名曾經被程式設計師們列為,寫程式時最困難的事
當有用到的 Serialized Fields 需要重新命名時
GameObject 或 ScriptableObject 中的資料會遺失
範例情境
1. 原始設計 :private member with public getter
2. 需求變更 :private member with public getter & setter
3. 重構問題 :將 private member 改為 public member,並移除多餘的 public getter & setter
解決方案
1. 直接使用文字編輯器打開 Prefab 或 ScriptableObject
2. 使用 [FormerlySerializedAs] attribute
熱血人次: 790
只要是在 Mac 環境下工作的工程師
一定會使用到 Terminal
但內建的實在太醜、完全沒有 highlight
加上沒分頁,用起來實在很不方便
看起來不夠宅不夠專業
所以趕快來把你的 Terminal 用潮一點吧!
Overview
1. Install Homebrew
/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
2. Install iTerm
brew cask install iTerm2
brew install caskroom/cask/iterm2
brew install caskroom/versions/iterm2-legacy
brew install caskroom/versions/iterm2-nightly
3. Install Oh My Zsh
sh -c “$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)”
4.Set zsh theme to agnoster
edit ~/.zshrc file
and set ZSH_THEME=”agnoster”
5. Install Powerline Fonts
git clone https://github.com/powerline/fonts.git
cd fonts
./install.sh
cd ..
rm -rf fonts
6.Remove device name & user name
edit ~/.zshrc file and add
export DEFAULT_USER=whoami
熱血人次: 8543