Created
July 7, 2017 01:39
-
-
Save ApprenticeGC/9a12297155c90c577731fd66ab8e7838 to your computer and use it in GitHub Desktop.
Speed up development in Unity using some tricks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # unlink first | |
| if [ -L "$(pwd)/Assets/Plugins/UniRx.dll" ] ; then | |
| unlink "$(pwd)/Assets/Plugins/UniRx.dll" | |
| fi | |
| if [ -L "$(pwd)/Assets/Plugins/Zenject" ] ; then | |
| unlink "$(pwd)/Assets/Plugins/Zenject" | |
| fi | |
| if [ -L "$(pwd)/Assets/Plugins/Zenject.meta" ] ; then | |
| unlink "$(pwd)/Assets/Plugins/Zenject.meta" | |
| fi | |
| if [ -e "$(pwd)/in-references/UniRx.dll" ] ; then | |
| ln -s "$(pwd)/in-references/UniRx.dll" "$(pwd)/Assets/Plugins" | |
| fi | |
| # link if actual file/folder exsit | |
| if [ -e "$(pwd)/in-references/Zenject" ] ; then | |
| ln -s "$(pwd)/in-references/Zenject" "$(pwd)/Assets/Plugins" | |
| fi | |
| if [ -e "$(pwd)/in-references/Zenject.meta" ] ; then | |
| ln -s "$(pwd)/in-references/Zenject.meta" "$(pwd)/Assets/Plugins" | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment