2D Toolkit Forum
2D Toolkit => Support => Topic started by: Drips on April 11, 2013, 10:01:20 pm
-
We've started using github for version control of our 2dtk project. We found that most people recommended ignoring the entire library folder. When we did this originally we had issues with sprite collections. Does 2dtk save any data to the library folder?
Thanks!
-
This is what my .gitignore file looks like:
/UnityProject/*
!/UnityProject/Assets/
!/UnityProject/ProjectSettings/
/UnityProject/Assets/-tk2d.*
/UnityProject/Assets/Resources/tk2d/*
/UnityProject/Assets/Resources/tk2d.meta
You must make sure to set the version control mode to Meta Files in the Unity Editor Settings and you shouldn't have problems.
You should also make sure to follow these instructions: http://www.unikronsoftware.com/2dtoolkit/doc/advanced/version_control.html
Hope that helps.
-
This is what my .gitignore file looks like:
/UnityProject/*
!/UnityProject/Assets/
!/UnityProject/ProjectSettings/
/UnityProject/Assets/-tk2d.*
/UnityProject/Assets/Resources/tk2d/*
/UnityProject/Assets/Resources/tk2d.meta
You must make sure to set the version control mode to Meta Files in the Unity Editor Settings and you shouldn't have problems.
You should also make sure to follow these instructions: http://www.unikronsoftware.com/2dtoolkit/doc/advanced/version_control.html
Hope that helps.
is that your entire gitignore file? ive read about requiring the metadata folder in the library.
-
No, you're fine as long as meta files are turned on in Edit > Project Settings > Editor. Meta files are created side by side with your assets.
http://docs.unity3d.com/Documentation/Manual/ExternalVersionControlSystemSupport.html
You should not include any of your libraries folder.