TO DO: add position recording function TO DO:
Unity 2018 3.6f1 or above (You can use Unity Hub to manage versions on your computer) -- Go to page of Unity Hub.
SteamVR 2.1
- Download Git for Windows.
- Install Git-2.xx-32/64.exe
- done
Mac: Install homebrew and Command Line Tool (if you don't have), then install git using package manager
- Homebrew is a package manager that allows you to install different softwares in terminal
- Open your terminal, copy paste:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- If you have never used command line tool / XCode on Mac, you will be asked to install it from Apple, confirm install. Otherwise, skip this step
- Use brew to install anything in terminal like this:
brew install git
- done
- download GIT LFS at: https://git-lfs.github.com/
- Install package
- In your terminal (Mac) or powershell / Gitbash / cmd (Windows), type:
git lfs install
- done
For first time or need a clean repo:
- In terminal, use "cd your/folder/name" or cd .. to navigate into "transWorld" folder:
- type:
git clone https://github.com/Translab/transWorld
Note: Everytime when you make changes to the project, please pull the latest version from the server
- Mac OS: open your terminal / Windows: Powershell
- cd your/path/transWorld or cd .. to navigate into "transWorld" folder
- git pull
Push your contributions to the world every time you finishes: In terminal:
cd your/path/transWorld
git add .
this prepares and adds all changed files to be uploaded *notice the space and dot after “add”. if you have only a few files to add:
git add filenameA
git add filenameB
when you finish adding, you should commit the changes you made and push to the master branch:
git commit -m “your_message”
git push origin master
The principle is that, you should make sure your local repo is exactly same as the server repo.
if you have issues you can always use:
git stash
It removes all the local changes and makes the local repo exactly same as the previous pull. Then you can pull again from the server to get the latest version.
*note: don't use this method if you have made significant changes already on the project, git stash will wipe out every changes you made.