Hello Guest

Author Topic: Using github - is the library required by 2DTK?  (Read 4709 times)

Drips

  • Newbie
  • *
  • Posts: 9
    • View Profile
Using github - is the library required by 2DTK?
« 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!

Dgizusse

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Using github - is the library required by 2DTK?
« Reply #1 on: April 11, 2013, 11:34:13 pm »
This is what my .gitignore file looks like:
Code: [Select]
/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.

Drips

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Using github - is the library required by 2DTK?
« Reply #2 on: April 12, 2013, 12:20:18 am »
This is what my .gitignore file looks like:
Code: [Select]
/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.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Using github - is the library required by 2DTK?
« Reply #3 on: April 12, 2013, 12:27:23 am »
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.